diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-05-27 01:11:04 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-05-27 01:11:04 +0000 |
commit | 253d099e69b8443370d8c6c755ae2b14bce73276 (patch) | |
tree | be9a3692fb0abadf29dbd7598485cf118ad7545f /etc/inc/xmlrpc.inc | |
parent | dd98e33080b121b19742ae7124defa4882202d22 (diff) | |
download | pfsense-253d099e69b8443370d8c6c755ae2b14bce73276.zip pfsense-253d099e69b8443370d8c6c755ae2b14bce73276.tar.gz |
Allow user manager to work with XMLRPC.
Diffstat (limited to 'etc/inc/xmlrpc.inc')
-rw-r--r-- | etc/inc/xmlrpc.inc | 2 |
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; |