Pman/Login.php
authorAlan Knowles <alan@roojs.com>
Fri, 7 Dec 2018 02:32:37 +0000 (10:32 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Dec 2018 02:32:37 +0000 (10:32 +0800)
Pman/Login.php

index 5b58247..4aa9e10 100644 (file)
@@ -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()
        }