diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-24 12:03:48 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-24 12:03:48 +0100 |
commit | edf59d8605000c4363ce4d79f270559c522bc63e (patch) | |
tree | 4bb2950a68f66a998165e5a8b15e5bba08f551c5 /t/app/controller/auth.t | |
parent | 8e6c6833afaf8b4cb820bffb4fa2adf44c0ca24d (diff) |
Allow people to give name/pw on auth page.
Diffstat (limited to 't/app/controller/auth.t')
-rw-r--r-- | t/app/controller/auth.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/auth.t b/t/app/controller/auth.t index 79db69704..056dea225 100644 --- a/t/app/controller/auth.t +++ b/t/app/controller/auth.t @@ -189,7 +189,7 @@ foreach my $remember_me ( '1', '0' ) { form_name => 'general_auth', fields => { email => $test_email, - password => $test_password, + password_login => $test_password, remember_me => ( $remember_me ? 1 : undef ), }, button => 'login', @@ -217,7 +217,7 @@ $mech->submit_form_ok( form_name => 'general_auth', fields => { email => $test_email, - password => 'not the password', + password_login => 'not the password', }, button => 'login', }, |