Cannot reactivate a deactivated account

Bug #556878 reported by Julien Funk
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical SSO provider
Fix Released
High
Szilveszter Farkas

Bug Description

Once an account has been deactivated it cannot be used again unless an admin turns it back on.

Following the db split from lp, there is no longer a way for users to deactivate their own accounts so this currently only applies to accounts which were deactivated before the split. To reproduce this on production therefore requires a LOSA.

Steps to reproduce:

1. Deactivate your account from the admin UI.
2. Go to "Forgot password" and send yourself a password reminder.
3. Follow the link from the email you get sent.
4. Enter new password (and confirm it).
5. Failure.

What should happen:
...
4. A notification is displayed telling you that your account is currently deactivated
5. Enter new password (and confirm it).
6. Your account is reactivated.
7. The email you sent the reminder to is set as your preferred email.
8. A notification is displayed telling you about 6. and 7.

Notes:
 * This should not work for suspended accounts! Suspended accounts must be reactivated by an administrator only.

Testcase: ISD_192

Related branches

Julien Funk (jaboing)
Changed in canonical-identity-provider:
importance: Undecided → Medium
Changed in canonical-identity-provider:
status: New → Confirmed
summary: - Cannot reactivate a deactivated address
+ Cannot reactivate a deactivated account
description: updated
Changed in canonical-identity-provider:
milestone: none → 2.4.1
Revision history for this message
Anthony Lenton (elachuni) wrote :

We should also check, while doing this, that you're able to activate password-less accounts by requesting a password reminder.

Changed in canonical-identity-provider:
importance: Medium → High
milestone: 2.4.1 → 2.5.0
Changed in canonical-identity-provider:
assignee: nobody → Szilveszter Farkas (phanatic)
status: Confirmed → In Progress
Changed in canonical-identity-provider:
status: In Progress → Fix Committed
Dave Morley (davmor2)
Changed in canonical-isd-qa:
assignee: nobody → Dave Morley (davmor2)
Revision history for this message
Julien Funk (jaboing) wrote :

Why is there no way to deactivate your account in live any longer? This seems like a core functionality that needs to exist for the consumer to be satisfied. A customer who is unable to deactivate their account could become quite upset.

Dave Morley (davmor2)
Changed in canonical-isd-qa:
status: New → Confirmed
Revision history for this message
Dave Morley (davmor2) wrote :

Workinf on Staging

Changed in canonical-isd-qa:
status: Confirmed → Fix Committed
Revision history for this message
Dave Morley (davmor2) wrote :

working on production

Changed in canonical-isd-qa:
status: Fix Committed → Fix Released
Danny Tamez (zematynnad)
Changed in canonical-identity-provider:
status: Fix Committed → Fix Released
Dave Morley (davmor2)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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