Module ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str handlers ExceptHandler type NameLoad body Return If BoolOpOr CompareIs NameLoad NameLoad BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Return Assign NameStore Call NameLoad keyword NameLoad If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd Call AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad body Expr Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A django.conf settings django.contrib messages django.contrib.auth authenticate login logout django.http HttpResponseRedirect django.utils.translation ugettext_lazy _lazy kitsune.sumo.urlresolvers reverse TokenLoginMiddleware N/A object N/A N/A Allows users to be logged in via one time tokens. process_request N/A N/A self request N/A N/A N/A N/A N/A auth N/A N/A N/A request GET get auth N/A N/A N/A IOError N/A N/A N/A N/A N/A auth None N/A N/A request user N/A N/A N/A request user is_authenticated N/A N/A N/A user N/A authenticate auth auth N/A N/A user N/A user is_active N/A N/A N/A login request user N/A msg N/A _lazy You have been automatically logged in. N/A N/A N/A messages success request msg N/A N/A LogoutDeactivatedUsersMiddleware N/A object N/A N/A Verifies that user.is_active == True.

    If a user has been deactivated, we log them out.

    If a user isn't active but is in the AAQ process, we let them be.
     process_request N/A N/A self request N/A N/A N/A user N/A request user N/A N/A N/A N/A user is_authenticated N/A N/A user is_active N/A N/A N/A N/A request session get in-aaq False N/A N/A N/A logout request N/A res N/A HttpResponseRedirect N/A reverse home N/A N/A N/A res delete_cookie N/A settings SESSION_EXISTS_COOKIE N/A res N/A N/A