← Back to team overview

mahara-contributors team mailing list archive

[Bug 1712737] [NEW] force password change on login requires a new email too

 

Public bug reported:

I noticed the un-merged patch https://reviews.mahara.org/#/c/7880/ is
failing automated tests because of a bug that requires a new email
address when you first log in as a new user and are required to change
your password. This is also true on master.

Steps to replicate:
While logged in as admin, create a new user:
First Name: Anna
Last Name: Smith
Email: anna@xxxxxxxxxxx
Username: anna
Password: changeme1
Hit "Create user" and confirm on the next page that "Force password change on next login" is enabled.
Log out and then log in as anna.
You'll be taken to the change password page. Enter:
New password: anna1!
Confirm password: anna1!
Primary email: anna@xxxxxxxxxxx
Then Submit.
You'll get an error message that the email address is already taken. So you can't update the password without having a new email address too. :( 
This bug seems to have been introduced recently as the add_users_new.feature was passing when written a few weeks ago.

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1712737

Title:
  force password change on login requires a new email too

Status in Mahara:
  New

Bug description:
  I noticed the un-merged patch https://reviews.mahara.org/#/c/7880/ is
  failing automated tests because of a bug that requires a new email
  address when you first log in as a new user and are required to change
  your password. This is also true on master.

  Steps to replicate:
  While logged in as admin, create a new user:
  First Name: Anna
  Last Name: Smith
  Email: anna@xxxxxxxxxxx
  Username: anna
  Password: changeme1
  Hit "Create user" and confirm on the next page that "Force password change on next login" is enabled.
  Log out and then log in as anna.
  You'll be taken to the change password page. Enter:
  New password: anna1!
  Confirm password: anna1!
  Primary email: anna@xxxxxxxxxxx
  Then Submit.
  You'll get an error message that the email address is already taken. So you can't update the password without having a new email address too. :( 
  This bug seems to have been introduced recently as the add_users_new.feature was passing when written a few weeks ago.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1712737/+subscriptions


Follow ups