I noticed in one of my projects that users mysteriously got logged out. This happened especially to users with bad network connectivity.
When looking into the code, I noticed that the _handleLoginCallback function clears the loginToken if login fails. Is there a clear reason as to why this behaviour was programmed? I removed it for my project and would propose merging this into the next release if there is no clear reason to remove login tokens at login failure.
I noticed in one of my projects that users mysteriously got logged out. This happened especially to users with bad network connectivity.
When looking into the code, I noticed that the _handleLoginCallback function clears the loginToken if login fails. Is there a clear reason as to why this behaviour was programmed? I removed it for my project and would propose merging this into the next release if there is no clear reason to remove login tokens at login failure.