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

index 7aa7068..b21b34e 100644 (file)
@@ -480,10 +480,8 @@ class Pman_Login extends Pman
            $u->setPassword($newpass);
        }
         $u->update($uu);
-        
-        
-        $this->showNewPass = implode("/", array($id,$t,$key));
-        return false;
+        $u->login();
+        $this->jok("Password has been Updated");
     }