aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/js
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 /templates/web/base/js
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 'templates/web/base/js')
-rw-r--r--templates/web/base/js/translation_strings.html4
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("'", "\\'") %]',