SUSPENDED account can +resetpassword and log in again

Bug #301720 reported by Francis J. Lacoste
258
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Curtis Hovey

Bug Description

SUSPENDED account can still use the +resetpassword page to reset their passwords. This logs them in and sets their password to a valid value which means that is_valid_person becomes True again.

The LoginOrRegister view doesn't check the account status either but simply is_valid_person.

I suggest we:

a) check the account status in LoginOrRegister
b) also check the account status when creating LoginToken for +resetpassword

Tags: lp-registry
Changed in launchpad-registry:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Curtis Hovey (sinzui) wrote :

We want to add a test that show that SUSPENDed accounts cannot use the +resetpassword.

Changed in launchpad-registry:
assignee: nobody → salgado
milestone: none → 2.1.12
Curtis Hovey (sinzui)
Changed in launchpad-registry:
assignee: salgado → sinzui
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: Triaged → In Progress
Revision history for this message
Curtis Hovey (sinzui) wrote :

Fixed in RF 7390.

Changed in launchpad-registry:
status: In Progress → Fix Committed
Revision history for this message
Curtis Hovey (sinzui) wrote :

Release in Launchpad 2.1.12.

Changed in launchpad-registry:
status: Fix Committed → Fix Released
William Grant (wgrant)
visibility: private → public
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.