1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Fixed basic auth realm issue, needed to be quoted.

This commit is contained in:
echel0n 2014-06-18 08:38:43 -07:00
parent 878ef9acf6
commit e202cbc0ac

View File

@ -96,7 +96,7 @@ def authenticated(handler_class):
def basicauth(handler, transforms, *args, **kwargs):
def _request_basic_auth(handler):
handler.set_status(401)
handler.set_header('WWW-Authenticate', 'Basic realm=SickRage')
handler.set_header('WWW-Authenticate', 'Basic realm="SickRage"')
handler._transforms = []
handler.finish()
return False