Pman/Login.php
[Pman.Base] / Pman / Login.php
index ebd7c1c..0b8b40b 100644 (file)
@@ -281,7 +281,8 @@ class Pman_Login extends Pman
                $this->jerr("Invalid request to reset password");
            }
            
-           $this->verifyCheckSum($_REQUEST['id'], $_REQUEST['ts'], $_REQUEST['key']);
+           $this->verifyResetPassword($_REQUEST['id'], $_REQUEST['ts'], $_REQUEST['key']);
+           $this->jok("Checksum is ok");
        }
        
        // this is 'classic' change password...
@@ -465,6 +466,7 @@ class Pman_Login extends Pman
     function verifyResetPassword($id,$t, $key)
     {
        $au = $this->getAuthUser();
+       print_R($au);
         if ($au) {
             $this->jerr( "Already Logged in - no need to use Password Reset");
         }