forked from shaba/openuds
fixed an invalid reverse
This commit is contained in:
parent
44632a497e
commit
4b3840f9c3
@ -81,7 +81,7 @@ def authCallback(request: HttpRequest, authName: str) -> HttpResponse:
|
|||||||
authLogLogin(request, authenticator, '{0}'.format(params), 'Invalid at auth callback')
|
authLogLogin(request, authenticator, '{0}'.format(params), 'Invalid at auth callback')
|
||||||
raise auths.exceptions.InvalidUserException()
|
raise auths.exceptions.InvalidUserException()
|
||||||
|
|
||||||
response = HttpResponseRedirect(reverse('Index'))
|
response = HttpResponseRedirect(reverse('page.index'))
|
||||||
|
|
||||||
webLogin(request, response, user, '') # Password is unavailable in this case
|
webLogin(request, response, user, '') # Password is unavailable in this case
|
||||||
request.session['OS'] = os
|
request.session['OS'] = os
|
||||||
|
Loading…
x
Reference in New Issue
Block a user