Projet

Général

Profil

0002-auth_fc-misc-django-2-compatibility-48136.patch

Paul Marillonnet, 30 octobre 2020 16:37

Télécharger (1,01 ko)

Voir les différences:

Subject: [PATCH 2/2] auth_fc: misc django 2 compatibility (#48136)

 src/authentic2_auth_fc/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/authentic2_auth_fc/views.py
362 362
        self.logger.debug('updating user_info %s', self.fc_account.user_info)
363 363

  
364 364
    def uniqueness_check_failed(self, request):
365
        if request.user.is_authenticated():
365
        if request.user.is_authenticated:
366 366
            # currently logged :
367 367
            if models.FcAccount.objects.filter(user=request.user, order=0).count():
368 368
                # cannot link because we are already linked to another FC account
369
-