diff --git a/src/authentic2_auth_fc/views.py b/src/authentic2_auth_fc/views.py index 46eb156a0..99eaabaeb 100644 --- a/src/authentic2_auth_fc/views.py +++ b/src/authentic2_auth_fc/views.py @@ -362,7 +362,7 @@ class LoginOrLinkView(PopupViewMixin, FcOAuthSessionViewMixin, View): self.logger.debug('updating user_info %s', self.fc_account.user_info) def uniqueness_check_failed(self, request): - if request.user.is_authenticated(): + if request.user.is_authenticated: # currently logged : if models.FcAccount.objects.filter(user=request.user, order=0).count(): # cannot link because we are already linked to another FC account