-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[BUG] Can't save Rules when an admin password is defined #5200
Comments
That's really strange as there has nothing changed regarding this code as far as I know. Have you tried another build to make sure this isn't caused by some update of the browser or some browser plugin which may prevent you from fetching the JavaScript code used to upload the rules file? Do you have any 'special' characters in your password? |
This must be an older problem. I had the same issues with a much older build until i disabled the password. |
What browser is used? Safari? |
Not sure what browsers i tested back then. I will dig a bit deeper when i am home since it seems to be still a thing. |
I tried with Chrome and it worked. It seems to be a Safari thing. I'm on Sequoia and Safari v18.3. |
Changing 'chrome' to 'Chrome' |
Maybe Safari does have some extra protections like "if not HTTPS and login required then no JavaScript" or something like that. |
I start to investigate the issue. |
When an admin password is defined and the system ask for it when saving the "Rules", all I get in the console is:
Even if I enter the correct login. And the browser is asking again for the password. Sometimes I get multiple login failed entry for a single entry of the password.
In order to save the rules, I have to disable the admin password, save the rules and redefined an admin password.
This happens with an ESP8266 on a NodeMCU v1 ESP-12F board with the following build:
And with an ESP-01F with the following build:
The text was updated successfully, but these errors were encountered: