rename new password field so form filling browsers don't always populate it
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user