mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
3704f54eb9
commit
b2c03bde79
@ -93,7 +93,7 @@ class AuthController(object):
|
|||||||
self.cookie_name = 'android_workaround'
|
self.cookie_name = 'android_workaround'
|
||||||
|
|
||||||
def hashit(self, raw):
|
def hashit(self, raw):
|
||||||
return hashlib.sha1(raw).hexdigest()
|
return hashlib.sha256(raw).hexdigest()
|
||||||
|
|
||||||
def __call__(self, func, allow_cookie_auth):
|
def __call__(self, func, allow_cookie_auth):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user