Skip to content

Commit

Permalink
Merge pull request #1250 from dobesv/patch-2
Browse files Browse the repository at this point in the history
Add get_logout_headers to request
  • Loading branch information
mmerickel committed Feb 27, 2014
2 parents 3c87ad8 + 8b434dd commit ea64fae
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pyramid/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,6 @@ def forget(request):
If no :term:`authentication policy` is in use, this function will
always return an empty sequence.
.. deprecated:: 1.5
Use :meth:`pyramid.request.Request.get_logout_headers` instead.
"""
policy = _get_authentication_policy(request)
if policy is None:
Expand Down Expand Up @@ -354,7 +351,7 @@ def effective_principals(self):
if policy is None:
return [Everyone]
return policy.effective_principals(self)

class AuthorizationAPIMixin(object):

def has_permission(self, permission, context=None):
Expand Down

0 comments on commit ea64fae

Please sign in to comment.