Bug #22405
Crash sur l'accès à la déliaison par un utilisateur non connecté
Start date:
09 Mar 2018
Due date:
% Done:
100%
Estimated time:
Hors marché:
No
Patch proposed:
Yes
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'
Files
Associated revisions
do not allow unauthenticated access to unlink page (fixes #22405)
History
Updated by Frédéric Péters almost 3 years ago
- File 0001-do-not-allow-unauthenticated-access-to-unlink-page-2.patch 0001-do-not-allow-unauthenticated-access-to-unlink-page-2.patch added
- Status changed from Nouveau to En cours
- Patch proposed changed from No to Yes
C'est suffisamment anormal pour qu'un truc fin ne soit pas nécessaire, à mon avis.
Updated by Frédéric Péters almost 3 years ago
- Status changed from En cours to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit authentic2-auth-fc|d8f82579871b6514142492e1774f56bade775330.
do not allow unauthenticated access to unlink page (fixes #22405)