From 08d5eddb2932a894fac03917508da95f480bfe7d Mon Sep 17 00:00:00 2001 From: Theron Luhn Date: Sun, 12 May 2019 10:55:01 -0700 Subject: Rename request.identity to request.authenticated_identity. --- src/pyramid/security.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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. -- cgit v1.2.3