mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Leave a notice for this as well.
This commit is contained in:
parent
52a93b8239
commit
602cb4b00c
@ -118,6 +118,7 @@ function carp_check_version($url, $password, $port = 80, $method = 'pfsense.host
|
||||
if (trim($parsed_response) == "Authentication failed") {
|
||||
$error = "A authentication failure occurred while trying to access {$url}:{$port} ({$method}).";
|
||||
log_error($error);
|
||||
file_notice("sync_settings", $error, "Settings Sync", "");
|
||||
exit;
|
||||
}
|
||||
} else {
|
||||
@ -253,6 +254,7 @@ function carp_sync_xml($url, $password, $sections, $port = 80, $method = 'pfsens
|
||||
if(!is_array($parsed_response) && trim($parsed_repsonse) == "Authentication failed") {
|
||||
$error = "A authentication failure occurred while trying to access {$url}:{$port} ($method).";
|
||||
log_error($error);
|
||||
file_notice("sync_settings", $error, "Settings Sync", "");
|
||||
exit;
|
||||
} else
|
||||
log_error("XMLRPC sync successfully completed with {$url}:{$port}.");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user