aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-19 22:18:06 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-19 22:18:06 -0700
commitf7c56106e72d81d397276ad89d175c433a1f5a2d (patch)
treed2a0ef79aef8fdd4d5668bd006bd5f66eba6fd08 /mod/settings.php
parentcac8aa7a693574292fc408c204472f2ef267a930 (diff)
downloadvolse-hubzilla-f7c56106e72d81d397276ad89d175c433a1f5a2d.tar.gz
volse-hubzilla-f7c56106e72d81d397276ad89d175c433a1f5a2d.tar.bz2
volse-hubzilla-f7c56106e72d81d397276ad89d175c433a1f5a2d.zip
rename new password field so form filling browsers don't always populate it
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php4
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;