This commit is contained in:
parent
5ca05f327e
commit
cf9121a042
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue