summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_hasync.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-12-15 14:47:51 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-12-15 17:18:59 -0200
commitf6179f4c237690c98e13962ebb13d116a1d05b97 (patch)
treee5b0666c055c6323868fe1774f400ed218e9312a /usr/local/www/system_hasync.php
parente51d6e1b7f195cbc8300c473a14610b84cc191b0 (diff)
downloadpfsense-f6179f4c237690c98e13962ebb13d116a1d05b97.zip
pfsense-f6179f4c237690c98e13962ebb13d116a1d05b97.tar.gz
Fix password field name to apply correct style
Diffstat (limited to 'usr/local/www/system_hasync.php')
-rwxr-xr-xusr/local/www/system_hasync.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/system_hasync.php b/usr/local/www/system_hasync.php
index 409bce3..fc37156 100755
--- a/usr/local/www/system_hasync.php
+++ b/usr/local/www/system_hasync.php
@@ -79,7 +79,7 @@ if ($_POST) {
$a_hasync['pfsyncinterface'] = $pconfig['pfsyncinterface'];
$a_hasync['synchronizetoip'] = $pconfig['synchronizetoip'];
$a_hasync['username'] = $pconfig['username'];
- $a_hasync['password'] = $pconfig['password'];
+ $a_hasync['password'] = $pconfig['passwordfld'];
write_config("Updated High Availability Sync configuration");
interfaces_sync_setup();
header("Location: system_hasync.php");
@@ -93,7 +93,7 @@ $pconfig['pfsyncpeerip'] = $a_hasync['pfsyncpeerip'];
$pconfig['pfsyncinterface'] = $a_hasync['pfsyncinterface'];
$pconfig['synchronizetoip'] = $a_hasync['synchronizetoip'];
$pconfig['username'] = $a_hasync['username'];
-$pconfig['password'] = $a_hasync['password'];
+$pconfig['passwordfld'] = $a_hasync['password'];
$ifaces = get_configured_interface_with_descr();
$ifaces["lo0"] = "loopback";
OpenPOWER on IntegriCloud