diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-09-20 14:36:12 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-09-30 15:04:06 +0100 |
commit | d0ae2a420905dbd0b79141d88e2c47956d1d65b2 (patch) | |
tree | c6d7abbb7a33fef2fa3af9c5684d61a6adf0eb1f /templates/web/base/js | |
parent | bfdae700a840b74595bb4798ae6d50bb9172fa72 (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 'templates/web/base/js')
-rw-r--r-- | templates/web/base/js/translation_strings.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/web/base/js/translation_strings.html b/templates/web/base/js/translation_strings.html index bc2f013ff..9bdf3b498 100644 --- a/templates/web/base/js/translation_strings.html +++ b/templates/web/base/js/translation_strings.html @@ -59,7 +59,11 @@ upload_cancel_confirmation: '[% loc ('Are you sure you want to cancel this upload?') | replace("'", "\\'") %]', upload_invalid_file_type: '[% loc ('Please upload an image only') | replace("'", "\\'") %]', + [% IF c.config.SMS_AUTHENTICATION ~%] + login_with_email: '[% loc('Log in with email/text') | replace("'", "\\'") %]', + [% ELSE ~%] login_with_email: '[% loc('Log in with email') | replace("'", "\\'") %]', + [% END ~%] offline: { your_reports: '[% loc('Your offline reports') | replace("'", "\\'") %]', |