Set password policy explicitly during install

Bug #1758139 reported by Kristina Hoeppner on 2018-03-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
High
Unassigned
18.04
High
Unassigned
18.10
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.

Robert Lyon (robertl-9) on 2018-03-22
summary: - Set password policy explicitely during install
+ Set password policy explicitly during install

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>

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  Edit
Everyone can see this information.

Other bug subscribers