diff options
| author | Theron Luhn <theron@luhn.com> | 2019-05-12 10:55:01 -0700 |
|---|---|---|
| committer | Theron Luhn <theron@luhn.com> | 2019-05-12 10:55:01 -0700 |
| commit | 08d5eddb2932a894fac03917508da95f480bfe7d (patch) | |
| tree | 77e25e830e3e33a45b4b3608585a0c40d4081a46 /src | |
| parent | ad611d2696701b611d2ef9dfe93567ecf6cb338d (diff) | |
| download | pyramid-08d5eddb2932a894fac03917508da95f480bfe7d.tar.gz pyramid-08d5eddb2932a894fac03917508da95f480bfe7d.tar.bz2 pyramid-08d5eddb2932a894fac03917508da95f480bfe7d.zip | |
Rename request.identity to request.authenticated_identity.
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 5d8e916d7..fd05746bd 100644 --- a/src/pyramid/security.py +++ b/src/pyramid/security.py @@ -279,7 +279,7 @@ class ACLAllowed(ACLPermitsResult, Allowed): class SecurityAPIMixin(object): @property - def identity(self): + def authenticated_identity(self): """ Return an opaque object identifying the current user or ``None`` if no user is authenticated or there is no :term:`security policy` in effect. |
