mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Content server: Workaround for chrome bug causing multiple sign in prompts when connecting to the server after restarting Chrome. Fixes #1982060 [multiple login prompts on web server](https://bugs.launchpad.net/calibre/+bug/1982060)
This commit is contained in:
parent
0e27235922
commit
202f537913
@ -35,7 +35,7 @@ from polyglot.builtins import iteritems, itervalues
|
||||
POSTABLE = frozenset({'GET', 'POST', 'HEAD'})
|
||||
|
||||
|
||||
@endpoint('', auth_required=False)
|
||||
@endpoint('', auth_required=True) # auth_required=True needed for Chrome: https://bugs.launchpad.net/calibre/+bug/1982060
|
||||
def index(ctx, rd):
|
||||
ans_file = lopen(P('content-server/index-generated.html'), 'rb')
|
||||
if not in_develop_mode:
|
||||
|
Loading…
x
Reference in New Issue
Block a user