summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-05-27 01:11:04 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-05-27 01:11:04 +0000
commit253d099e69b8443370d8c6c755ae2b14bce73276 (patch)
treebe9a3692fb0abadf29dbd7598485cf118ad7545f /etc
parentdd98e33080b121b19742ae7124defa4882202d22 (diff)
downloadpfsense-253d099e69b8443370d8c6c755ae2b14bce73276.zip
pfsense-253d099e69b8443370d8c6c755ae2b14bce73276.tar.gz
Allow user manager to work with XMLRPC.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/xmlrpc.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/xmlrpc.inc b/etc/inc/xmlrpc.inc
index 96ba308..6ebbb79 100644
--- a/etc/inc/xmlrpc.inc
+++ b/etc/inc/xmlrpc.inc
@@ -103,7 +103,7 @@ function php_value_to_xmlrpc($value, $force_array = false) {
*/
function xmlrpc_auth(&$params) {
global $config;
- $localpass = $config['system']['password'];
+ $localpass = $config['system']['user'][0]['password'];
if(crypt($params[0], $localpass) == $localpass) {
array_shift($params);
return true;
OpenPOWER on IntegriCloud