aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-09 16:19:52 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-09 16:19:52 -0700
commitdcaadada35c86ebc395ebee9fa726e315e89198f (patch)
treeb2e98975d944f7dcb04076374ecaf39b535cbc6e /mod
parent006ca54f92c6e3d9a48cca94da494c6a476b91e0 (diff)
downloadvolse-hubzilla-dcaadada35c86ebc395ebee9fa726e315e89198f.tar.gz
volse-hubzilla-dcaadada35c86ebc395ebee9fa726e315e89198f.tar.bz2
volse-hubzilla-dcaadada35c86ebc395ebee9fa726e315e89198f.zip
allow leading/trailing whitespace in passwords
Diffstat (limited to 'mod')
-rw-r--r--mod/settings.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 3cfe06b8e..cfd0df024 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -21,8 +21,8 @@ function settings_post(&$a) {
}
if((x($_POST,'npassword')) || (x($_POST,'confirm'))) {
- $newpass = trim($_POST['npassword']);
- $confirm = trim($_POST['confirm']);
+ $newpass = $_POST['npassword'];
+ $confirm = $_POST['confirm'];
$err = false;
if($newpass != $confirm ) {