mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-07 10:33:38 +00:00
Fixed basic auth realm issue, needed to be quoted.
This commit is contained in:
parent
878ef9acf6
commit
e202cbc0ac
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ def authenticated(handler_class):
|
||||||
def basicauth(handler, transforms, *args, **kwargs):
|
def basicauth(handler, transforms, *args, **kwargs):
|
||||||
def _request_basic_auth(handler):
|
def _request_basic_auth(handler):
|
||||||
handler.set_status(401)
|
handler.set_status(401)
|
||||||
handler.set_header('WWW-Authenticate', 'Basic realm=SickRage')
|
handler.set_header('WWW-Authenticate', 'Basic realm="SickRage"')
|
||||||
handler._transforms = []
|
handler._transforms = []
|
||||||
handler.finish()
|
handler.finish()
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in a new issue