diff options
author | Scott Ullrich <sullrich@pfSense.org> | 2010-01-09 14:39:52 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfSense.org> | 2010-01-09 14:39:52 -0500 |
commit | 972d8ad3a27b6d1955d0dd2521c71736d9f9ee32 (patch) | |
tree | bcbaa8fdefeaed7693b018216e39c159af334975 /usr | |
parent | 4d372c9dafe9a883130c46b794a2782ccc479481 (diff) | |
download | pfsense-972d8ad3a27b6d1955d0dd2521c71736d9f9ee32.zip pfsense-972d8ad3a27b6d1955d0dd2521c71736d9f9ee32.tar.gz |
Return 'Authentication failed' instead of a non standard type which results in kindOf() errors.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/xmlrpc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/xmlrpc.php b/usr/local/www/xmlrpc.php index 9fb5b32..51fc345 100755 --- a/usr/local/www/xmlrpc.php +++ b/usr/local/www/xmlrpc.php @@ -55,7 +55,7 @@ $xmlrpc_g = array( "return" => array( "true" => new XML_RPC_Response(new XML_RPC_Value(true, $XML_RPC_Boolean)), "false" => new XML_RPC_Response(new XML_RPC_Value(false, $XML_RPC_Boolean)), - "authfail" => new XML_RPC_Response(0, $XML_RPC_erruser+1, "Authentication failure") + "authfail" => new XML_RPC_Response(new XML_RPC_Value("Authentication failed", $XML_RPC_String)) ) ); |