diff options
| author | Theron Luhn <theron@luhn.com> | 2019-06-08 11:41:02 -0700 |
|---|---|---|
| committer | Theron Luhn <theron@luhn.com> | 2019-06-08 11:41:02 -0700 |
| commit | 3d34d658e6f88d56f8ccf6c2ad4bceaa7b23e18b (patch) | |
| tree | 3fd9183d0692363cd20cf87a158559d8ec9bdce1 /src | |
| parent | ecfd8b79c9cc68eb7462cf6e4534c300c489b50e (diff) | |
| download | pyramid-3d34d658e6f88d56f8ccf6c2ad4bceaa7b23e18b.tar.gz pyramid-3d34d658e6f88d56f8ccf6c2ad4bceaa7b23e18b.tar.bz2 pyramid-3d34d658e6f88d56f8ccf6c2ad4bceaa7b23e18b.zip | |
Fix bw-compat for `unauthenticated_userid`.
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 |
