diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-12-29 11:08:37 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-12-29 11:09:03 -0500 |
commit | d395af26da6df534543ebadb97f9e8c8e6bd3ef6 (patch) | |
tree | 21f8668bc6a001c1dbfd90ac5abbe69ca9090cd9 /src/usr/local/www/interfaces_ppps_edit.php | |
parent | c399d0dd03fb4df3456418bfbe15162edd16c7d1 (diff) | |
download | pfsense-d395af26da6df534543ebadb97f9e8c8e6bd3ef6.zip pfsense-d395af26da6df534543ebadb97f9e8c8e6bd3ef6.tar.gz |
Final updates in support of hidden passwords
Diffstat (limited to 'src/usr/local/www/interfaces_ppps_edit.php')
-rw-r--r-- | src/usr/local/www/interfaces_ppps_edit.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/local/www/interfaces_ppps_edit.php b/src/usr/local/www/interfaces_ppps_edit.php index 1522963..0233eed 100644 --- a/src/usr/local/www/interfaces_ppps_edit.php +++ b/src/usr/local/www/interfaces_ppps_edit.php @@ -325,6 +325,8 @@ if ($_POST) { $ppp['username'] = $_POST['username']; if ($_POST['passwordfld'] != DMYPWD) { $ppp['password'] = base64_encode($_POST['passwordfld']); + } else { + $ppp['password'] = $a_ppps[$id]['password']; } $ppp['ondemand'] = $_POST['ondemand'] ? true : false; if (!empty($_POST['idletimeout'])) { |