From e905a5cbc0364f5586c8c9cbdb02dbc7fcf9e7aa Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 7 Dec 2018 10:32:37 +0800 Subject: [PATCH] Pman/Login.php --- Pman/Login.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Pman/Login.php b/Pman/Login.php index 5b58247..4aa9e10 100644 --- a/Pman/Login.php +++ b/Pman/Login.php @@ -261,8 +261,11 @@ class Pman_Login extends Pman if (empty($_REQUEST['id']) || empty($_REQUEST['ts']) || empty($_REQUEST['key']) || - empty($_REQUEST['key']) || - + empty($_REQUEST['password1']) || + empty($_REQUEST['password2']) + ) { + $this->jerr("Invalid request to reset password"); + } $this->resetPassword() } -- 2.39.2