reset_password fix
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / reset_password.inc
index ccea2ff63882d05e11d6c10d76f3eeb0bd441c83..883b7b86b75b5e59be1e006a6805aea9b631e927 100644 (file)
@@ -22,13 +22,13 @@ function reset_password() {
                return false;
        }
 
-       if ($login_type = 'id') {
+       if ($login_type == 'id') {
                $login_id=$login;
                $login='';
        } else {
                $login_id=0;
        }
-       $error=resetPassword($login_id,$login,$vercode,$password1);
+       $error=nodes::resetPassword($login_id,$login,$vercode,$password1);
        
        $error="Password changed. Now you can login with your new password.";
        return 0;
This page took 0.088723 seconds and 4 git commands to generate.