Revision 99441482
Added by Renato Botelho over 10 years ago
usr/local/www/system_hasync.php | ||
---|---|---|
79 | 79 |
$a_hasync['pfsyncinterface'] = $pconfig['pfsyncinterface']; |
80 | 80 |
$a_hasync['synchronizetoip'] = $pconfig['synchronizetoip']; |
81 | 81 |
$a_hasync['username'] = $pconfig['username']; |
82 |
$a_hasync['password'] = $pconfig['password']; |
|
82 |
$a_hasync['password'] = $pconfig['passwordfld'];
|
|
83 | 83 |
write_config("Updated High Availability Sync configuration"); |
84 | 84 |
interfaces_sync_setup(); |
85 | 85 |
header("Location: system_hasync.php"); |
... | ... | |
93 | 93 |
$pconfig['pfsyncinterface'] = $a_hasync['pfsyncinterface']; |
94 | 94 |
$pconfig['synchronizetoip'] = $a_hasync['synchronizetoip']; |
95 | 95 |
$pconfig['username'] = $a_hasync['username']; |
96 |
$pconfig['password'] = $a_hasync['password'];
|
|
96 |
$pconfig['passwordfld'] = $a_hasync['password'];
|
|
97 | 97 |
|
98 | 98 |
$ifaces = get_configured_interface_with_descr(); |
99 | 99 |
$ifaces["lo0"] = "loopback"; |
Also available in: Unified diff
Fix password field name to apply correct style