Skip to content

Fix login failures on production builds due to late deletion of app settings #880

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

Davidi-74
Copy link
Collaborator

Due to recent Captcha changes and different env dev settings for prod and staging/dev, there was an error where the Captcha token is deleted from local storage due to AppSettings.destroy() being run when the user submits his phone number.

To fix the issue, clearing of current/stale AppSettings was moved to the StartScreen component which is higher in the stack, and also sets the INITIAL_USER_STATE.

@Davidi-74 Davidi-74 merged commit 03e6918 into master Jun 5, 2025
2 checks passed
@Davidi-74 Davidi-74 deleted the AUT-24890-fix-login-failures-on-prod-builds-due-to-late-deletion-of-app-settings branch June 5, 2025 14:39
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.

2 participants