From 5cedcb2389532378fcd6d3dbfb3927684908f508 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 16 Nov 2018 10:34:12 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B01620:=20Fix=20'forgot=20your=20password?= =?UTF-8?q?=3F'=20error=20when=20resetting=20password?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/loginwebpage.class.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/loginwebpage.class.inc.php b/application/loginwebpage.class.inc.php index 71c1cb72d..e3990afd4 100644 --- a/application/loginwebpage.class.inc.php +++ b/application/loginwebpage.class.inc.php @@ -378,6 +378,7 @@ EOF { // Trash the token and change the password $oUser->Set('reset_pwd_token', ''); + $oUser->AllowWrite(true); $oUser->SetPassword($sNewPwd); // Does record the change into the DB $this->add("

".Dict::S('UI:ResetPwd-Ready')."

");