diff options
-rw-r--r-- | endpoints/api.php | 2 | ||||
-rw-r--r-- | recovery.php-disabled | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/endpoints/api.php b/endpoints/api.php index e617625..8abd6e9 100644 --- a/endpoints/api.php +++ b/endpoints/api.php @@ -179,7 +179,7 @@ try { $settings = new phpVBoxConfigClass();
$response['data']['success'] = $settings->auth->changePassword($request['params']['old'],
- $request['parans']['new']);
+ $request['params']['new']);
// We're done writing to session
if(function_exists('session_write_close'))
diff --git a/recovery.php-disabled b/recovery.php-disabled index 3790a84..a516059 100644 --- a/recovery.php-disabled +++ b/recovery.php-disabled @@ -18,9 +18,9 @@ header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0");
header("Pragma: no-cache");
-require_once(dirname(__FILE__).'/lib/config.php');
-require_once(dirname(__FILE__).'/lib/utils.php');
-require_once(dirname(__FILE__).'/lib/vboxconnector.php');
+require_once(dirname(__FILE__).'/endpoints/lib/config.php');
+require_once(dirname(__FILE__).'/endpoints/lib/utils.php');
+require_once(dirname(__FILE__).'/endpoints/lib/vboxconnector.php');
/*
|