diff options
Diffstat (limited to 'mod/settings.php')
-rw-r--r-- | mod/settings.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/settings.php b/mod/settings.php index 0cac6e0de..71109d903 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -24,9 +24,9 @@ function settings_post(&$a) { notice( t('Permission denied.') . EOL); return; } - if((x($_POST,'password')) || (x($_POST,'confirm'))) { + if((x($_POST,'npassword')) || (x($_POST,'confirm'))) { - $newpass = trim($_POST['password']); + $newpass = trim($_POST['npassword']); $confirm = trim($_POST['confirm']); $err = false; |