Deleting / deactivating account does not log user out
Summary
Deleting the only account in the app, does not log user out
Steps to reproduce
- Create an account or have an account you can mess with
- Delete or deactivate the account
- Notice that you end up on account switching screen, but cannot log out, can scroll minds, but can not interact (essentially read only mode)
Platform information
- tested Google pixel 6 pro, android 13
- iphone xr
- honor 9
App version
- 4.29.0
- 4.30.1 (deletion) honor9
- 4.30.2 (deactivation) iphone XR
What is the current bug behavior?
User not logged out when they delete / deactivate account
What is the expected correct behavior?
- User should get to the "please log in" screen after deleting / deactivating account if it's only account
- User should get the username removed from account switcher after deleting / deactivating account if it's multiple accounts
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
Edited by Bashy