diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/pyramid/security.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyramid/security.py b/src/pyramid/security.py index fd05746bd..eb5ba3e19 100644 --- a/src/pyramid/security.py +++ b/src/pyramid/security.py @@ -360,7 +360,7 @@ class AuthenticationAPIMixin(object): if authn is not None: return authn.unauthenticated_userid(self) elif security is not None: - return security.identify(self) + return str(security.identify(self)) else: return None |
