Project

General

Profile

Bug #22405

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

Added by Frédéric Péters over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Assignee:
-
Target version:
Start date:
09 Mar 2018
Due date:
% Done:

100%

Hors marché:
No
Patch proposed:
Yes
Planning:
No

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'

0001-do-not-allow-unauthenticated-access-to-unlink-page-2.patch View (999 Bytes) Frédéric Péters, 09 Mar 2018 01:31 PM

Associated revisions

Revision d8f82579 (diff)
Added by Frédéric Péters over 1 year ago

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

Revision 21b4f96e (diff)
Added by Frédéric Péters 6 months ago

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

History

#1 Updated by Frédéric Péters over 1 year ago

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

#2 Updated by Benjamin Dauvergne over 1 year ago

Ack.

#3 Updated by Benjamin Dauvergne over 1 year ago

  • Target version set to 0.12

#4 Updated by Frédéric Péters over 1 year ago

  • Status changed from En cours to Résolu (à déployer)
  • % Done changed from 0 to 100

#5 Updated by Benjamin Dauvergne over 1 year ago

  • Status changed from Résolu (à déployer) to Fermé

Also available in: Atom PDF