argument('username'); $oAuthController = new AuthController(); $current_password = $this->secret("Please enter the current password"); $new_password = $this->secret("Please enter the new password"); $aReturn = $oAuthController->changePassword($username, $current_password, $new_password); if ($aReturn["status"] == "error") { $this->error($aReturn["message"]); } else { $this->info($aReturn["message"]); } } }