Commit 4a51beb3 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1577251: Delete password requests when changing primary email


Change-Id: I63080b651e08e8e747a891e9f7f2283bfecb72f1
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
(cherry picked from commit 6cfb0274)
parent ba0311f9
......@@ -388,6 +388,7 @@ function profileform_submit(Pieform $form, $values) {
'id' => $USER->get('id'),
delete_records('usr_password_request', 'usr', $USER->get('id'));
$USER->email = $values['email']['default'];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment