From c90ad5c9936185071622b9bf9e10617775ca1020 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 7 Dec 2018 10:33:36 +0800 Subject: [PATCH] Pman/Login.php --- Pman/Login.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Pman/Login.php b/Pman/Login.php index 4aa9e10..a81d6aa 100644 --- a/Pman/Login.php +++ b/Pman/Login.php @@ -262,11 +262,13 @@ class Pman_Login extends Pman empty($_REQUEST['ts']) || empty($_REQUEST['key']) || empty($_REQUEST['password1']) || - empty($_REQUEST['password2']) + empty($_REQUEST['password2']) || + ($_REQUEST['password1'] != $_REQUEST['password2']) ) { $this->jerr("Invalid request to reset password"); } - $this->resetPassword() + + $this->resetPassword($_REQUEST['id'], $_REQUEST['ts'], $_REQUEST['key'], $_REQUEST['password1'] ); } // this is 'classic' change password... -- 2.39.2