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 /conf | |
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 'conf')
-rw-r--r-- | conf/general.yml-example | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/general.yml-example b/conf/general.yml-example index 345a6426d..528fc1012 100644 --- a/conf/general.yml-example +++ b/conf/general.yml-example @@ -205,6 +205,13 @@ TESTING_COUNCILS: '' # if you're using Message Manager, include the URL here (see https://github.com/mysociety/message-manager/) MESSAGE_MANAGER_URL: '' +# If you enable login via SMS authentication, you'll need a twilio account +SMS_AUTHENTICATION: 0 +PHONE_COUNTRY: '' +TWILIO_ACCOUNT_SID: '' +TWILIO_AUTH_TOKEN: '' +TWILIO_FROM_PARAMETER: '' + # If you want to hide all pages from non-logged-in users, set this to 1. LOGIN_REQUIRED: 0 |