[Bug]: Can not log in after upgrading to 2.26.0 #2883

Closed
opened 2026-04-25 00:11:33 +02:00 by adam · 2 comments
Owner

Originally created by @stenius on GitHub (Jul 12, 2025).

What happened?

I was told that the auth system was being updated and needed to re-login. My credentials didn't work and I got an "unauthorized" message.

Http request returned:

"XHRPOST
http://10.8.10.135:13378/audiobookshelf/login
[HTTP/1.1 401 Unauthorized 21ms]

1

Unauthorized

What did you expect to happen?

Successful Login.

Steps to reproduce the issue

Audiobookshelf version

2.26.0

How are you running audiobookshelf?

Debian/PPA

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Firefox

Logs

{"timestamp":"2025-07-12 20:49:01.433","source":"    at LocalAuthStrategy.logFailedLoginAttempt (/snapshot/audiobookshelf/server/auth/LocalAuthStrategy.js)","message":"[LocalAuth] Failed login attempt for username \"pauls\" from ip 10.8.10.143 (Invalid password)","levelName":"ERROR","level":4}

Additional Notes

No response

Originally created by @stenius on GitHub (Jul 12, 2025). ### What happened? I was told that the auth system was being updated and needed to re-login. My credentials didn't work and I got an "unauthorized" message. Http request returned: "XHRPOST http://10.8.10.135:13378/audiobookshelf/login [HTTP/1.1 401 Unauthorized 21ms] 1 Unauthorized ### What did you expect to happen? Successful Login. ### Steps to reproduce the issue 1. ### Audiobookshelf version 2.26.0 ### How are you running audiobookshelf? Debian/PPA ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? Firefox ### Logs ```shell {"timestamp":"2025-07-12 20:49:01.433","source":" at LocalAuthStrategy.logFailedLoginAttempt (/snapshot/audiobookshelf/server/auth/LocalAuthStrategy.js)","message":"[LocalAuth] Failed login attempt for username \"pauls\" from ip 10.8.10.143 (Invalid password)","levelName":"ERROR","level":4} ``` ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:11:33 +02:00
adam closed this issue 2026-04-25 00:11:33 +02:00
Author
Owner

@advplyr commented on GitHub (Jul 12, 2025):

The password comparison hasn't changed so if it is reaching that part of the codebase I can only think that you're entering the wrong password. You can reset the password by setting the pash column in the users table of the database to null for that user.

@advplyr commented on GitHub (Jul 12, 2025): The password comparison hasn't changed so if it is reaching that part of the codebase I can only think that you're entering the wrong password. You can reset the password by setting the `pash` column in the `users` table of the database to `null` for that user.
Author
Owner

@stenius commented on GitHub (Jul 12, 2025):

Thanks @advplyr. I guess that was it.

@stenius commented on GitHub (Jul 12, 2025): Thanks @advplyr. I guess that was it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2883