summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial/authorization
diff options
context:
space:
mode:
Diffstat (limited to 'docs/quick_tutorial/authorization')
-rw-r--r--docs/quick_tutorial/authorization/tutorial/security.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/quick_tutorial/authorization/tutorial/security.py b/docs/quick_tutorial/authorization/tutorial/security.py
index a004a20f2..5b3e04a5f 100644
--- a/docs/quick_tutorial/authorization/tutorial/security.py
+++ b/docs/quick_tutorial/authorization/tutorial/security.py
@@ -20,10 +20,7 @@ GROUPS = {'editor': ['group:editors']}
class SecurityPolicy:
def __init__(self, secret):
- self.authtkt = AuthTktCookieHelper(
- secret=secret,
- hashalg='sha512',
- )
+ self.authtkt = AuthTktCookieHelper(secret=secret)
self.acl = ACLHelper()
def authenticated_identity(self, request):