Projet

Général

Profil

Bug #22405

Crash sur l'accès à la déliaison par un utilisateur non connecté

Ajouté par Frédéric Péters il y a environ 6 ans. Mis à jour il y a plus de 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
Début:
09 mars 2018
Echéance:
% réalisé:

100%

Temps estimé:
Hors marché:
Non
Patch proposed:
Oui
Planning:

Description

Internal Server Error: /accounts/fc/unlink/
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/authentic2_auth_fc/views.py", line 494, in dispatch
    if not request.user.has_usable_password() and not \
  File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 226, in inner
    return func(self._wrapped, *args)
AttributeError: 'AnonymousUser' object has no attribute 'has_usable_password'

Fichiers

Révisions associées

Révision d8f82579 (diff)
Ajouté par Frédéric Péters il y a presque 6 ans

do not allow unauthenticated access to unlink page (fixes #22405)

Révision 21b4f96e (diff)
Ajouté par Frédéric Péters il y a presque 5 ans

do not allow unauthenticated access to unlink page (fixes #22405)

Historique

#1

Mis à jour par Frédéric Péters il y a environ 6 ans

C'est suffisamment anormal pour qu'un truc fin ne soit pas nécessaire, à mon avis.

#2

Mis à jour par Benjamin Dauvergne il y a environ 6 ans

Ack.

#3

Mis à jour par Benjamin Dauvergne il y a presque 6 ans

  • Version cible mis à 0.12
#4

Mis à jour par Frédéric Péters il y a presque 6 ans

  • Statut changé de En cours à Résolu (à déployer)
  • % réalisé changé de 0 à 100
#5

Mis à jour par Benjamin Dauvergne il y a plus de 5 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF