gcivil-nyu-org / fall24-monday-team2

1 stars 0 forks source link

(Login Issues) CSRF verification failed. Request aborted. #138

Closed KarthikVV24-11-1999 closed 1 week ago

KarthikVV24-11-1999 commented 1 week ago

Account Used: test_user_2 Error: [Forbidden] CSRF verification failed. Request aborted Steps Followed:

  1. Navigate to the Login Page from the Home Page
  2. Enter the Login Credentials correctly, but do not click the "Log In" Button yet
  3. Click Enter Button on keyboard
  4. Quickly change one of the credentials and click Enter again
  5. Navigate to the Home page and then the Profile page to see that the user is actually Logged in
  6. Log out and Try the above steps again Note: In steps 2 and 3, Click "Enter" (a faster way of logging in) so that You don't have to use "cursor" for the next steps However, it can also be reproduced by clicking on Login if you time it correctly

Expected Results:

The issue is encountered when We change the login credentials and click enter before it redirects to the logged in user's Home page, as demonstrated in the video below, but after the home page api request is made:

Private Zenhub Video