Can't login anymore #2272
Replies: 3 comments
|
Help! 🫨 |
|
No worries, this one is recoverable in a minute. The "Disable Standard Login" switch stayed on after OIDC was turned off, so the password form is still hidden. Clear it directly in the settings database, then restart the container: docker exec <your-container> python3 -c "import sqlite3; c = sqlite3.connect('/config/app.db'); c.execute('UPDATE settings SET config_disable_standard_login = 0'); c.commit(); print('ok')"
docker restart <your-container>(Use your container's name; That lockout shouldn't be possible in the first place, since the switch should only apply while an OIDC/OAuth provider is actually available to sign in with. I'm fixing that so turning SSO off can't hide the password login again. |
|
The lockout itself is fixed in #2303. "Disable Standard Login" now only applies while an OAuth provider is set up to sign in with, so switching SSO off brings the password form back by itself. It'll ship in the next release; until then, the database command above is the way back in. |
Uh oh!
There was an error while loading. Please reload this page.
I turned off OIDC login, but forgot to change CWNG to allow me to use the regular login at the home page, so now I can't access anything in the webui. How can I fix this?
(yes, I made a big oopsie)
All reactions