jacksoneshbaugh / ScavengerSurvey

GNU General Public License v3.0
1 stars 1 forks source link

Cannot log in if never logged out #6

Open snorklerjoe opened 4 months ago

snorklerjoe commented 4 months ago

A bug discovered by Mattt- to replicate:

  1. Register a new user or complete the proceeding steps with existing user credentials
  2. Log in
  3. Clear cookies (invalidating the session)
  4. Attempt to log in with the same credentials

Step 4 will not allow the user to get past the login screen.

snorklerjoe commented 4 months ago

This could be something weird about the session given that it's running in Google Cloud Run and the session may be more ephemeral than we think.

More likely, there is a case we can catch prior to logging in the user where we can simulate a logout event or close down the session appropriately?

More investigation is required.