Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot login to backend after upgrade to 1.9.27 #326

Closed
arminfuerst opened this issue Oct 26, 2021 · 3 comments
Closed

Cannot login to backend after upgrade to 1.9.27 #326

arminfuerst opened this issue Oct 26, 2021 · 3 comments

Comments

@arminfuerst
Copy link

After upgrading from 1.9.26 to 1.9.27, I cannot login to the backend anymore. When using the correct credentials, I always get the message "Errors during login!".
I tried to set:
$phpwcms['session.cookie_httponly.off'] = true;
as well as
$phpwcms['session.cookie_samesite'] = 'None';
but there were no changes in the behavior. I don't get any error in the web server's logs.
Upgrading directly to 1.9.30 doesn't work either.

@arminfuerst
Copy link
Author

I found a workaround:

  • After upgrading, I always restart the webserver.
  • Refreshing even with <Shift><Reload> did not help.
  • I noticed, logging in is possible in a private window.
  • I then made a trivial change in login.php, after this, the login was also possible.
  • I then upgraded to 1.9.28 and the login was still possible.
  • As a last step, I upgraded to 1.9.29 and 1.9.30 and the login remains working.

@q23
Copy link
Contributor

q23 commented Oct 26, 2021

Why do you close this issue? Workaround is not the best solution
What is the trivial change in login.php?
Since 1.9.x is better to clear cookies after update and set base_href true

@arminfuerst
Copy link
Author

Why do you close this issue? Workaround is not the best solution What is the trivial change in login.php? Since 1.9.x is better to clear cookies after update and set base_href true

I closed it because I wouldn't be able to retest any solution. I don't know whether this was related to cookies. I would be fine if the issue will be reopened, but I doubt I could assist in solving this or confirming a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants