auth_fc: fix typo in views.py (#53409)
gitea/authentic/pipeline/head Build started... Details

This commit is contained in:
Benjamin Dauvergne 2021-04-26 15:07:05 +02:00 committed by Serghei Mihai
parent 5ca05f327e
commit cf9121a042
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ class LoginOrLinkView(View):
# let's try again
if created:
user.delete()
return self.authenticate(request, sub=sub, token=token, user_info=user_info)
return a2_utils.authenticate(request, sub=sub, token=token, user_info=user_info)
except Exception:
# if anything unexpected happen and user was created, delete it and re-raise
if created: