aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/auth_profile.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-09-20 14:36:12 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-09-30 15:04:06 +0100
commitd0ae2a420905dbd0b79141d88e2c47956d1d65b2 (patch)
treec6d7abbb7a33fef2fa3af9c5684d61a6adf0eb1f /t/app/controller/auth_profile.t
parentbfdae700a840b74595bb4798ae6d50bb9172fa72 (diff)
Add ability to log in on /auth via text.
A confirmation code is sent via Twilio to be entered on the site.
Diffstat (limited to 't/app/controller/auth_profile.t')
-rw-r--r--t/app/controller/auth_profile.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/app/controller/auth_profile.t b/t/app/controller/auth_profile.t
index 883dc2003..2472564e8 100644
--- a/t/app/controller/auth_profile.t
+++ b/t/app/controller/auth_profile.t
@@ -17,12 +17,12 @@ END {
{
form_name => 'general_auth',
fields => {
- email => "$test_email",
+ username => "$test_email",
r => 'faq', # Just as a test
},
- button => 'email_sign_in',
+ button => 'sign_in_by_code',
},
- "email_sign_in with '$test_email'"
+ "sign_in_by_code with '$test_email'"
);
# follow link and change password - check not prompted for old password