-
-
Notifications
You must be signed in to change notification settings - Fork 541
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
Admin interface login not working after changing password with pihole -a -p
#1614
Comments
I wonder if it is something to do with a combination of characters that you are using. Hard to tell, and the password is not stored in the debug log. Could you try something simple like |
Hi, I've tried with simple ones (e.g. |
What is the output of the following, please?
|
WEBPASSWORD=d7914fe546b684688bb95f4f888a92dfc680603a75f23eb823658031fff766d9 |
OK, so that is the correct value. What do you see when you try to log in on the web interface? I have just tried it myself, and it works... If it does not work for you, please include whether or not you see any console errors in the web browser's developer tools (usually F12, depending on the browser you are using) Out of interest, what browser are you using? |
I'm on Firefox 78.4.0esr. There are some errors in the console that might be related. I have just tested with private mode and it does work well, and those errors are not shown. Interestingly, they don't appear in private mode. In any case it doesn't really look like a bug on the UI side so feel free to close the issue. Thanks a lot for your help! |
Ah, this may already be dealt with in development, but I am not sure. I'll transfer this issue to the web repo until I've had a chance to confirm. |
I've tried latest firefox on both Gif from dev below: I also tried 78.4.0esr, and am unable to reproduce. As you say @srvaroa, it worked in private browsing mode, so the cookie warning might be a red herring at this stage... maybe you have some extension that is preventing login? Does it allow you to log in if you don't check the "Remember Me" button? @XhmikosR - might need you to jog my memory! We did something with the cookie types before the last release, no? Should it be something other? |
The only related change I can think of is #1350. #1447 and the SameSite attribute is missing which is why I made https://github.com/pi-hole/AdminLTE/compare/cookies but I never got to finish it to support old PHP versions. I'd manually clear the cookie. |
I could have sworn we'd already added in the |
This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days. |
Versions
Platform
Expected behavior
After running
pihole -a -p <new_password>
, it should be possible to log in via the web interface with<new_password>
Actual behavior / bug
Login doesn't work.
Steps to reproduce
As noted above.
Debug Token
https://tricorder.pi-hole.net/1qy00pb1zh
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
pihole -a -p
, then entering blank password).WEBPASSWORD
updated at/etc/pihole/setupVars.conf
The text was updated successfully, but these errors were encountered: