Skip to content

fix: read password and totp status from info.has_password and info.has_totp - #267

Open
hashbk wants to merge 1 commit into
mainfrom
fix/use-info-has-password-has-totp
Open

fix: read password and totp status from info.has_password and info.has_totp#267
hashbk wants to merge 1 commit into
mainfrom
fix/use-info-has-password-has-totp

Conversation

@hashbk

@hashbk hashbk commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Backend now provides has_password and has_totp under the info object instead of top-level has_password and tfa_enabled fields
  • Update API.CurrentUser type: remove top-level tfa_enabled and has_password, add info.has_password and info.has_totp
  • Update SecuritySetting to read is2FAEnabled from currentUser.info.has_totp and hasPassword from currentUser.info.has_password

…s_totp

Backend now provides has_password and has_totp under the info object
instead of top-level has_password and tfa_enabled fields. Update
CurrentUser type and SecuritySetting accordingly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant