Can't login to admin, credentials window asks again and again and again...
See original GitHub issueI have a fresh and clean install of epl, and can’t login to the admin page. It asks again and again to put in the credentials. I use no auth plugin.
Version: 1.8.0beta
settings.conf
{
"users": {
"admin": {
"is_admin": true,
"password": ****
}
},
"skinName": "colibris",
"ip": "127.0.0.1",
"port": 9001,
"showSettingsInAdminPage": true,
"dbType" : "mysql",
"dbSettings" : {
"user": ****,
"host": "localhost",
"port": 3306,
"password": ****,
"database": "etherpad_lite_db",
"charset": "utf8mb4"
},
"suppressErrorsInPadText": false,
"requireSession": false,
"editOnly": false,
"sessionNoPassword": false,
"minify": true,
"maxAge": 21600, // 60 * 60 * 6 = 6 hours
"abiword": "/usr/bin/abiword",
"soffice": null,
"tidyHtml": "/usr/bin/tidy",
"allowUnknownFileEnds": true,
"requireAuthentication": false,
"requireAuthorization": false,
"trustProxy": false,
"disableIPlogging": true,
"automaticReconnectionTimeout": 0,
"socketTransportProtocols" : ["xhr-polling", "jsonp-polling", "htmlfile"],
"loadTest": false,
"exposeVersion": false,
"loglevel": "INFO",
[...]
}
I searched the net but did not find any topic concerning my problem. Any idea?
– Update:
Switched back to 1.7.5, where the admin section is accessible.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
System asking for admin username and password in windows ...
Try this: Right click Start button to open Run box, copy and paste in netplwiz, press Enter. Highlight your account, then click Properties, ......
Read more >Outlook Keeps Asking for Password on Windows
The user enters the password and presses OK, but the window with the prompt to enter the credentials appears again and again.
Read more >Recovering administrator access to your account
Recover administrator access using automated recovery. If you forgot your password or username, ... After adding the CNAME or TXT record, click Check...
Read more >Outlook Continually Prompts For My Password
If prompted again after Cancel, move on to step 3. ... Clear your cached passwords (Note: you may need Admin rights to do...
Read more >The Password Is Incorrect After Update in Windows 10 FIX
The Password Is Incorrect After Update in Windows 10 FIX.The error "The password is incorrect. Try again " may appear after a Windows...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The change that implemented #3648 (7c099fef5e08) was incorrect, and resulted in disabling every user at startup.
The problem was twofold:
_.filter()
on an object returns an array of the object’s enumerable values and strips out the keys. This changed the layout of the users object, effectively nuking everyone. See: https://stackoverflow.com/questions/11697702/how-to-use-underscore-js-filter-with-an-object To filter an object, the function that needs to be used is_.pick()
;userProperties.password
was plain wrong (it should have been an AND instead of an OR).Thanks @g4rf for finding this bug.
And here we are: this is a regression introduced in 7c099fef5e08.
Last working version (4e758a9f4a50):
Regressed version (7c099fef5e08):
Thank you for spotting it!