forked from shaba/openuds
Included request on parameters, needed on 3.5
This commit is contained in:
parent
8a2e2deaf1
commit
5fed04d64d
@ -110,10 +110,12 @@ def authCallback_stage2(
|
||||
) -> HttpResponse:
|
||||
try:
|
||||
ticket = TicketStore.get(ticketId)
|
||||
params: typing.Dict[str, typing.Any] = ticket['params']
|
||||
params: typing.Dict[str, typing.Any] = ticket['params'].copy()
|
||||
auth_uuid: str = ticket['auth']
|
||||
authenticator = Authenticator.objects.get(uuid=auth_uuid)
|
||||
|
||||
# Add request data to params
|
||||
params['_request'] = request
|
||||
user = authenticateViaCallback(authenticator, params)
|
||||
|
||||
os = OsDetector.getOsFromUA(request.META['HTTP_USER_AGENT'])
|
||||
|
Loading…
Reference in New Issue
Block a user