Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ismail-s committed Sep 10, 2015
1 parent 459d0cf commit 6a30c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyramid_persona/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def includeme(config):
# Default authentication and authorization policies. Those are needed to remember the userid.
authz_policy = ACLAuthorizationPolicy()
config.set_authorization_policy(authz_policy)
secret = settings.get('persona.secret', None)
secret = settings.get('persona.secret', '')
authn_policy = AuthTktAuthenticationPolicy(secret, hashalg='sha512')
config.set_authentication_policy(authn_policy)

Expand Down

0 comments on commit 6a30c54

Please sign in to comment.