summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTheron Luhn <theron@luhn.com>2019-05-26 10:13:49 -0700
committerTheron Luhn <theron@luhn.com>2019-05-26 10:13:49 -0700
commitf9fba4fb3e6f6906821ed0f39e6d11cb0f26ce9d (patch)
treecca563045d0074ec375ae96e2c49899581c0dd4e /src
parentc544a22796b02e5b86d3df9d4773274ee0aadeac (diff)
downloadpyramid-f9fba4fb3e6f6906821ed0f39e6d11cb0f26ce9d.tar.gz
pyramid-f9fba4fb3e6f6906821ed0f39e6d11cb0f26ce9d.tar.bz2
pyramid-f9fba4fb3e6f6906821ed0f39e6d11cb0f26ce9d.zip
API docs.
Diffstat (limited to 'src')
-rw-r--r--src/pyramid/authentication.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pyramid/authentication.py b/src/pyramid/authentication.py
index c1e010516..aaae36c5c 100644
--- a/src/pyramid/authentication.py
+++ b/src/pyramid/authentication.py
@@ -1142,6 +1142,7 @@ class SessionAuthenticationHelper:
return []
def identify(self, request):
+ """ Return the stored userid."""
return request.session.get(self.userid_key)