diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-24 10:09:54 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-24 10:09:54 +0100 |
commit | 8e6c6833afaf8b4cb820bffb4fa2adf44c0ca24d (patch) | |
tree | 38041b307d8ef87faedf7d6aadef8dcbeb33dceb /perllib/FixMyStreet/App/Controller/Auth.pm | |
parent | 27edc4907f17cbfd16cdd18241d6a936990006f5 (diff) |
Use bcrypt.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Auth.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Auth.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Auth.pm b/perllib/FixMyStreet/App/Controller/Auth.pm index 9ff415bf4..5767a0a82 100644 --- a/perllib/FixMyStreet/App/Controller/Auth.pm +++ b/perllib/FixMyStreet/App/Controller/Auth.pm @@ -7,7 +7,6 @@ BEGIN { extends 'Catalyst::Controller'; } use Email::Valid; use Net::Domain::TLD; use mySociety::AuthToken; -use Digest::SHA1 qw(sha1_hex); =head1 NAME @@ -219,7 +218,7 @@ sub change_password : Local { } # we should have a usable password - save it to the user - $c->user->obj->update( { password => sha1_hex($new) } ); + $c->user->obj->update( { password => $new } ); $c->stash->{password_changed} = 1; } |