0001-auth_fc-is_authenticated-is-a-boolean-with-Django-2..patch
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 |
- |