mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #7385 (Calibre-Server does not work with userid/password)
This commit is contained in:
parent
05fb9ee826
commit
0e715238c7
@ -147,7 +147,7 @@ class LibraryServer(ContentServer, MobileServer, XMLServer, OPDSServer, Cache,
|
|||||||
self.config['/'] = {
|
self.config['/'] = {
|
||||||
'tools.digest_auth.on' : True,
|
'tools.digest_auth.on' : True,
|
||||||
'tools.digest_auth.realm' : (
|
'tools.digest_auth.realm' : (
|
||||||
_('Password to access your calibre library. Username is ')
|
'Password to access your calibre library. Username is '
|
||||||
+ opts.username.strip()),
|
+ opts.username.strip()),
|
||||||
'tools.digest_auth.users' : {opts.username.strip():opts.password.strip()},
|
'tools.digest_auth.users' : {opts.username.strip():opts.password.strip()},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user