gcivil-nyu-org / match-a-pet

0 stars 1 forks source link

A new user is able to access login page and login without the current user logging out #128

Open sesha14 opened 3 years ago

sesha14 commented 3 years ago

Issue tracker is ONLY used for reporting bugs. New features should be discussed in its own thread on the #general channel of slack.

As a different user, I am able to go to the login URL and login with a different username and password (sometimes it throws an error while sometimes the user is able to log in) without logging out from the previous account.

Expected Behavior

The existing active user should be logged out before a new user can log in.

Current Behavior

When a new user tries to log in when an existing user has logged in already, the existing user is either logged out or throws error

Ideas for Improvement

Could be a small bug in the login page code

Steps to Reproduce

1.May be add appropriate method decorators or change code

Context (Environment)