Trouble with automatic log-in after disconnection


I have some troubles with the log-out - log-in cycle :
After logging out, the app automatically logs the user in without asking for any email or password and connect him to an empty account without any of the users data (messages, likes, products…) although they are still referenced in the database.

So I have two questions :

  • How to prevent the automatic logging-in after the log-out ? I would like user to be able to complete the fields in case of he wants to switch account for any reason

  • How to prevent a log-in into an empty account ? (It seems to happen after a long time with no activity in the app and it’s really a problem for the app launch).

Thanks a lot !

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.