This commit is contained in:
Philip Neustrom 2014-03-11 12:25:49 +00:00
commit 5183309245

View File

@ -227,6 +227,7 @@ class Request(object):
set in the login and logout functions. set in the login and logout functions.
""" """
self._user = value self._user = value
self._request.user = value
@property @property
def auth(self): def auth(self):
@ -390,6 +391,7 @@ class Request(object):
if not user_auth_tuple is None: if not user_auth_tuple is None:
self._authenticator = authenticator self._authenticator = authenticator
self._user, self._auth = user_auth_tuple self._user, self._auth = user_auth_tuple
self._request.user = self._user
return return
self._not_authenticated() self._not_authenticated()