diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-02-06 17:03:46 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-02-06 22:53:30 +0000 |
commit | 1e301bf1e07daf35150d54b132bbbe66f0a8095e (patch) | |
tree | eb7fa1be4b978cb16b70b7346aa100627e3ebc07 /perllib/FixMyStreet/App/Controller/Auth/Profile.pm | |
parent | 6edf79cb0ecd150ea0f054c8faa7be0b055fc2d0 (diff) | |
parent | 3e201f8d48554ab8c4b8132eaa50b5fe7dd1d67e (diff) |
Merge branch 'password-tests'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Auth/Profile.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Auth/Profile.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Auth/Profile.pm b/perllib/FixMyStreet/App/Controller/Auth/Profile.pm index 441f222d1..2d8ae081e 100644 --- a/perllib/FixMyStreet/App/Controller/Auth/Profile.pm +++ b/perllib/FixMyStreet/App/Controller/Auth/Profile.pm @@ -62,6 +62,7 @@ sub change_password : Path('/auth/change_password') { $password_error ||= !$new && !$confirm ? 'missing' : $new ne $confirm ? 'mismatch' + : !$c->forward('/auth/test_password', [ $new ]) ? 'failed' : ''; if ($password_error) { |