mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fixup format of XMLRPC auth error to match GUI auth error.
(cherry picked from commit 6e0d47510e)
This commit is contained in:
parent
e0bd07fdae
commit
ecfd1ddc0e
@ -61,8 +61,9 @@ class pfsense_xmlrpc_server {
|
||||
}
|
||||
|
||||
if (!$login_ok) {
|
||||
log_auth("webConfigurator authentication error for '" .
|
||||
$username . "' from " . $this->remote_addr);
|
||||
log_auth(sprintf(gettext("webConfigurator authentication error for user '%1\$s' from: %2\$s"),
|
||||
$username,
|
||||
$this->remote_addr));
|
||||
|
||||
require_once("XML/RPC2/Exception.php");
|
||||
throw new XML_RPC2_FaultException(gettext(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user