Skip to content

fix: stop persisting hasSafetyPassword flag in async storage#116

Open
kush-mehra1 wants to merge 1 commit into
madanrajsagar:mainfrom
kush-mehra1:fix/issue-74-remove-safety-flag-storage-clean
Open

fix: stop persisting hasSafetyPassword flag in async storage#116
kush-mehra1 wants to merge 1 commit into
madanrajsagar:mainfrom
kush-mehra1:fix/issue-74-remove-safety-flag-storage-clean

Conversation

@kush-mehra1

Copy link
Copy Markdown

Fixes #74

AuthContext stores the hasSafetyPassword metadata flag in AsyncStorage — persists across logouts and can leak state between users on the same device. Removed the persistence; the flag is now derived from the API response on each login.

GSSOC 2026 contribution

@kush-mehra1

Copy link
Copy Markdown
Author

GSSOC 2026 contribution. could a maintainer add the gssoc:approved label and a difficulty level? thanks.
github profile: https://github.com/kush-mehra1

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.

AuthContext stores hasSafetyPassword metadata flag in AsyncStorage

2 participants