Closed dahawk closed 5 years ago
For me the issue was fixed by switching to the latest version. As changing to the latest Docker image worked fine without additional work, I decided to switch to the current image.
Looking at the log in hindsight, bookstack was unintentionally running with two replicas on the same db and storage and both instances took turns answering the requests.
Describe the bug After entering my credentials on /login I get the message
displayed on my screen (see secreenshots). Refreshing the page will prompt the "Do you want to resend your form data" as the previous request was the POST to send my login credentials. When I press resend, I either get redirected to the same page expired message or I get redirected to the index page.
Note the ratio of successful login varies quite a bit between
it takes 3-4 attempts to login
andit takes 3-4 attempts to reproduce the error
Side Note While testing, I used a password manager and the auto type feature which once resulted in entering the password as username and no password.
The Result was first the page expired error and following the form resend a correct login!!
Steps To Reproduce Steps to reproduce the behavior:
Expected behavior Provided I enter valid credentials, I expect to be logged in.
Screenshots If applicable, add screenshots to help explain your problem.
Your Configuration (please complete the following information):
Additional context The corresponding request logs for Firefox (although in this case, the login post redirected me back to the login page and after entering my credentials again, the error appeared)
and Chromium`