422 page on expire cookies if user is not logged in.
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
A user reported to us that if you go to the GitLab.com page but don't login and then try to log in a couple of hours later the user receives an 422 error message and if they press "Go back" it just ends on infinite redirect loop of "Confirm form submission" The user state that this could be improved so that GitLab will have a better user experience.
Intended users
Anyone that uses GitLab.com
User experience goal
Redirect to the login page
Proposal
Instead of giving a 422 error just redirect back to the login page with a banner that says something like "You had been redirected to the login screen because your cookie has expired"
Further details
User ticket: https://gitlab.zendesk.com/agent/tickets/175034 (Internal Only)