Two-Factor Authentication
There are two ways to enable this feature:
System admin can tick the check-box at the “Password” section of the system settings page, or
After that, there will be a “Two-Factor Authentication” section in the user profile page.
Users can use the Google Authenticator app on their smart-phone to scan the QR code.
First you need to install the Twilio python library by
After that, append the following lines to seahub_settings.py
,
TWO_FACTOR_SMS_GATEWAY = 'seahub_extra.two_factor.gateways.twilio.gateway.Twilio'
TWILIO_CALLER_ID = '<your-caller-id>'
EXTRA_MIDDLEWARE_CLASSES = (
)
After restarting, there will be a “text message” method when users enable Two-Factor Authentication for their account.