diff options
author | Nicholas Pitt <ngpitt@xphysics.net> | 2015-08-02 17:38:43 -0400 |
---|---|---|
committer | Nicholas Pitt <ngpitt@xphysics.net> | 2015-08-02 17:38:43 -0400 |
commit | d0e78135f649498f047fe0dc096688e9e053411c (patch) | |
tree | 26d81cb81f3bde86b044608bc644d6f8181751bd | |
parent | 1a1b09b6824ef72e656a3893f800adb4ffeba0e9 (diff) | |
download | phpvirtualbox-d0e78135f649498f047fe0dc096688e9e053411c.zip phpvirtualbox-d0e78135f649498f047fe0dc096688e9e053411c.tar.gz phpvirtualbox-d0e78135f649498f047fe0dc096688e9e053411c.tar.bz2 |
Fixed bug in api.php change password and corrected the lib path in recovery.php
-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');
/*
|