Skip to content

Commit b97eefa

Browse files
Fixed hardcoded branding
1 parent 9a818de commit b97eefa

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CONTRIBUTORS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ Copyright (C) 2024-2026 Calibre-Web Automated contributors
312312
- zhiyue (1 commits)
313313
# Fork Contributors (crocodilestick/calibre-web-automated)
314314

315-
- crocodilestick (886 commits)
315+
- crocodilestick (896 commits)
316316
- jmarmstrong1207 (73 commits)
317317
- demitrix (30 commits)
318318
- sirwolfgang (29 commits)
@@ -368,6 +368,7 @@ Copyright (C) 2024-2026 Calibre-Web Automated contributors
368368
- gx1400 (1 commits)
369369
- halkeye (1 commits)
370370
- have-a-boy (1 commits)
371+
- helmerzNL (1 commits)
371372
- Hobogrammer (anon) (1 commits)
372373
- HotGarbo (1 commits)
373374
- imajes (1 commits)

cps/error_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# custom error page
2323

2424
def error_http(error):
25-
headers = {'WWW-Authenticate': 'Basic realm="calibre-web"'} if error.code == 401 else {}
25+
headers = {'WWW-Authenticate': f'Basic realm="{config.config_calibre_web_title or "calibre-web-automated"}"'} if error.code == 401 else {}
2626
return render_template('http_error.html',
2727
error_code="Error {0}".format(error.code),
2828
error_name=error.name,

0 commit comments

Comments
 (0)