summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-12-28 19:55:25 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-12-28 19:55:25 -0500
commit135fc32acf7753539bdee74ffa78774656180b51 (patch)
tree50e8fb0a0df8f2b6732f05e39c1dd0b424304c7a /src
parent522265f83fb5c6c5a1d0814b9aa7ed9f26817221 (diff)
downloadpfsense-135fc32acf7753539bdee74ffa78774656180b51.zip
pfsense-135fc32acf7753539bdee74ffa78774656180b51.tar.gz
Fixed saving password when the ols password needs to be retained
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/services_dyndns_edit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/local/www/services_dyndns_edit.php b/src/usr/local/www/services_dyndns_edit.php
index e6938e1..e28dc3e 100644
--- a/src/usr/local/www/services_dyndns_edit.php
+++ b/src/usr/local/www/services_dyndns_edit.php
@@ -169,6 +169,8 @@ if ($_POST) {
$dyndns['username'] = $_POST['username'];
if ($_POST['passwordfld'] != DMYPWD) {
$dyndns['password'] = $_POST['passwordfld'];
+ } else {
+ $dyndns['password'] = $a_dyndns[$id]['password'];;
}
$dyndns['host'] = $_POST['host'];
$dyndns['mx'] = $_POST['mx'];
OpenPOWER on IntegriCloud