diff options
author | Dave Arter <davea@mysociety.org> | 2018-04-27 10:14:40 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-04-27 10:18:41 +0100 |
commit | 4aa61d32043a419081d0a15721e24243978ab674 (patch) | |
tree | efd4c9a18b3854e02a07bf0dc42e0cb06ca890d3 /perllib/FixMyStreet/App/Controller/Alert.pm | |
parent | 86677908feec287449467b565f63fa2f8db7e560 (diff) |
Don’t strip whitespace from user passwords during registration
If a new user registers during the report/update process
and their password starts or ends with whitespace or has
consecutive whitespace chars then those would be stripped
and the entered password wouldn’t work for subsequent logins.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Alert.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm index 9d522dbc9..1060c080b 100644 --- a/perllib/FixMyStreet/App/Controller/Alert.pm +++ b/perllib/FixMyStreet/App/Controller/Alert.pm @@ -369,7 +369,7 @@ sub process_user : Private { # return 1; # } # -# $alert_user->password( Utils::trim_text( $params{password_register} ) ); +# $alert_user->password( $params{password_register} ); } =head2 setup_coordinate_rss_feeds |