Describe the bug
If the user is not logged in the system and tries to access a random submission via a link, for example:
https://alpha.judge.softuni.org/submissions/656/details
The user is prompted to first login. However, during one of the tests instead of receiving the "you do not have permissions" or "you can only view your own submissions" error message, the "Login" button itself disappeared after being clicked.
Steps To Reproduce
I was unable to consistently reproduce the bug. It happened the first time I tried, but not for the next 15-20 tries.
Screenshots
Additional context
Upon going to my profile from the "Profile" icon I was successfully redirected and actually logged into my account, i.e. the Login itself succeeded it just did not redirect me properly for some reason.
Describe the bug
If the user is not logged in the system and tries to access a random submission via a link, for example:
https://alpha.judge.softuni.org/submissions/656/details
The user is prompted to first login. However, during one of the tests instead of receiving the "you do not have permissions" or "you can only view your own submissions" error message, the "Login" button itself disappeared after being clicked.
Steps To Reproduce
I was unable to consistently reproduce the bug. It happened the first time I tried, but not for the next 15-20 tries.
Screenshots
Expected error:

Bug - button disappearing:

Additional context
Upon going to my profile from the "Profile" icon I was successfully redirected and actually logged into my account, i.e. the Login itself succeeded it just did not redirect me properly for some reason.