aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-06-24 10:09:54 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-06-24 10:09:54 +0100
commit8e6c6833afaf8b4cb820bffb4fa2adf44c0ca24d (patch)
tree38041b307d8ef87faedf7d6aadef8dcbeb33dceb /perllib/FixMyStreet/App.pm
parent27edc4907f17cbfd16cdd18241d6a936990006f5 (diff)
Use bcrypt.
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index b5838a169..47b290eff 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -61,8 +61,7 @@ __PACKAGE__->config(
credential => { # Catalyst::Authentication::Credential::Password
class => 'Password',
password_field => 'password',
- password_type => 'hashed',
- password_hash_type => 'SHA-1',
+ password_type => 'self_check',
},
store => { # Catalyst::Authentication::Store::DBIx::Class
class => 'DBIx::Class',