Skip to content

Return 401 on unsuccessful login - #3654

Merged
OzzieIsaacs merged 1 commit into
janeczku:masterfrom
blake502:master
Aug 1, 2026
Merged

Return 401 on unsuccessful login#3654
OzzieIsaacs merged 1 commit into
janeczku:masterfrom
blake502:master

Conversation

@blake502

@blake502 blake502 commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

calibre-web should use the 401 HTTP response for a failed login.

This would greatly improve fail2ban implementations for users running calibre-web on a remote reverse proxy, where calibre-web's logs are not readily available-- but HTTP responses are.

@OzzieIsaacs
OzzieIsaacs merged commit d444893 into janeczku:master Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants