summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfSense.org>2010-01-09 14:39:52 -0500
committerScott Ullrich <sullrich@pfSense.org>2010-01-09 14:39:52 -0500
commit972d8ad3a27b6d1955d0dd2521c71736d9f9ee32 (patch)
treebcbaa8fdefeaed7693b018216e39c159af334975
parent4d372c9dafe9a883130c46b794a2782ccc479481 (diff)
downloadpfsense-972d8ad3a27b6d1955d0dd2521c71736d9f9ee32.zip
pfsense-972d8ad3a27b6d1955d0dd2521c71736d9f9ee32.tar.gz
Return 'Authentication failed' instead of a non standard type which results in kindOf() errors.
-rwxr-xr-xusr/local/www/xmlrpc.php2
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))
)
);
OpenPOWER on IntegriCloud