This commit is contained in:
Kovid Goyal 2012-04-04 21:17:25 +05:30
parent 3704f54eb9
commit b2c03bde79

View File

@ -93,7 +93,7 @@ class AuthController(object):
self.cookie_name = 'android_workaround'
def hashit(self, raw):
return hashlib.sha1(raw).hexdigest()
return hashlib.sha256(raw).hexdigest()
def __call__(self, func, allow_cookie_auth):