Is there an existing feature request for this?
Describe the feature you would like to see.
currently, the client api returns the following data about the user
- int id (
window.PterodactylUser shows uuid, but not id. strange discrepancy.)
- bool admin
- username
- email
- first and last name
- language
However, the enabled/disabled status of their mfa is locked behind window.PterodactylUser which is not accessible via the api.
Describe the solution you'd like.
Include the use_totp field in the user object returned by the api. and maybe name it properly as uses_totp
Additional context to this request.
As the developer of featherdactyl, an app for pterodactyl, its impossible for me to tell if a user has totp enabled or not, so i cannot properly show the correct dialog to toggle it with. I simply do not know which to show - enable, or disable.
I'm already stuck with web scraping for the app name, but at least that works. This, as its blocked by session login, simply doesnt.
Is there an existing feature request for this?
Describe the feature you would like to see.
currently, the client api returns the following data about the user
window.PterodactylUsershows uuid, but not id. strange discrepancy.)However, the enabled/disabled status of their mfa is locked behind
window.PterodactylUserwhich is not accessible via the api.Describe the solution you'd like.
Include the
use_totpfield in the user object returned by the api. and maybe name it properly asuses_totpAdditional context to this request.
As the developer of featherdactyl, an app for pterodactyl, its impossible for me to tell if a user has totp enabled or not, so i cannot properly show the correct dialog to toggle it with. I simply do not know which to show - enable, or disable.
I'm already stuck with web scraping for the app name, but at least that works. This, as its blocked by session login, simply doesnt.