auth_fc: fix typo in views.py (#53409)

This commit is contained in:
Benjamin Dauvergne 2021-04-26 15:07:05 +02:00
parent 95d8f644be
commit 86219adc82
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: