Set password policy explicitly during install

Bug #1758139 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Unassigned
18.04
Fix Released
High
Unassigned
18.10
Fix Released
High
Unassigned

Bug Description

In https://reviews.mahara.org/#/c/8685/ we only run the password reset if no policy has been set. This needs to be expanded to explicitly set a password policy during the installation to avoid password resets after an ugprade.

How I came across this:
1. Created new empty database.
2. Checked out https://reviews.mahara.org/8693
3. Set new admin login and password.
4. Checked out https://reviews.mahara.org/8697
5. Right after login, I was asked to change the admin password again.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/8698

Robert Lyon (robertl-9)
summary: - Set password policy explicitely during install
+ Set password policy explicitly during install
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/8698
Committed: https://git.mahara.org/mahara/mahara/commit/24a98bdc620c291f5ee390c89886bf0cabccb68b
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 24a98bdc620c291f5ee390c89886bf0cabccb68b
Author: Robert Lyon <email address hidden>
Date: Fri Mar 23 08:21:12 2018 +1300

Bug 1758139: Set password policy explicitly during install

behatnotneeded

Change-Id: I4e173da5a289ba0106c29fed3dff234d92dfb175
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "18.04_STABLE" branch: https://reviews.mahara.org/8702

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/8702
Committed: https://git.mahara.org/mahara/mahara/commit/c81d02ab8dda239880e223799fbb66d35f3dcb8d
Submitter: Robert Lyon (<email address hidden>)
Branch: 18.04_STABLE

commit c81d02ab8dda239880e223799fbb66d35f3dcb8d
Author: Robert Lyon <email address hidden>
Date: Fri Mar 23 08:21:12 2018 +1300

Bug 1758139: Set password policy explicitly during install

behatnotneeded

Change-Id: I4e173da5a289ba0106c29fed3dff234d92dfb175
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 24a98bdc620c291f5ee390c89886bf0cabccb68b)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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