query ('CALL account.userChangePassword (#, #)', [$oldPassword, $newPassword]); Account::sync ($db, $_SESSION['user'], $newPassword, Account::PASS); return TRUE; } }