Bug #22405
Crash sur l'accès à la déliaison par un utilisateur non connecté
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
do not allow unauthenticated access to unlink page (fixes #22405)
Historique
Mis à jour par Frédéric Péters il y a environ 6 ans
- Fichier 0001-do-not-allow-unauthenticated-access-to-unlink-page-2.patch 0001-do-not-allow-unauthenticated-access-to-unlink-page-2.patch ajouté
- Statut changé de Nouveau à En cours
- Patch proposed changé de Non à Oui
C'est suffisamment anormal pour qu'un truc fin ne soit pas nécessaire, à mon avis.
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
Appliqué par commit authentic2-auth-fc|d8f82579871b6514142492e1774f56bade775330.
Mis à jour par Benjamin Dauvergne il y a plus de 5 ans
- Statut changé de Résolu (à déployer) à Fermé
do not allow unauthenticated access to unlink page (fixes #22405)