fixed an invalid reverse

This commit is contained in:
Adolfo Gómez García 2020-04-24 12:33:35 +02:00
parent 44632a497e
commit 4b3840f9c3

View File

@ -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