mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Was failing the check if clicking test notifications twice in a row. So it was saving the asterisks and overwriting the current password.
This commit is contained in:
parent
083a9a8234
commit
6176862f98
@ -95,7 +95,7 @@ if ($_POST) {
|
||||
$config['notifications']['smtp']['notifyemailaddress'] = $_POST['smtpnotifyemailaddress'];
|
||||
$config['notifications']['smtp']['username'] = $_POST['smtpusername'];
|
||||
|
||||
if ($_POST['smtppassword'] != DMYPWD) {
|
||||
if (strcmp($_POST['smtppassword'], DMYPWD)!= 0) {
|
||||
if ($_POST['smtppassword'] == $_POST['smtppassword_confirm']) {
|
||||
$config['notifications']['smtp']['password'] = $_POST['smtppassword'];
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user