middleware: always load SSL informations in the request, to allow changing your user
This commit is contained in:
parent
be97b0e373
commit
007af52158
|
@ -5,5 +5,4 @@ class PraticAuthMiddleware(object):
|
|||
attempts to find a valid user based on the client certificate info
|
||||
"""
|
||||
def process_request(self, request):
|
||||
if request.user and not request.user.is_authenticated():
|
||||
request.ssl_info = utils.SSLInfo(request)
|
||||
request.ssl_info = utils.SSLInfo(request)
|
||||
|
|
Reference in New Issue