Open briannoelkesuma opened 1 year ago
A simple trick would be to clear auth state on clicking login button and then triggering the firestore login part.
The issue is because your previous state is retained and the fraction of sec it takes to replace it with the new state you can view the old state details.
https://rnfirebase.io/auth/usage#listening-to-authentication-state try using this to reset anywhere you have used auth flow
if i create new account and login back to my other account, login details (email) of my new account will be exposed in the profile screen.