Still collect emails from newly registered users.

Log in users immediately if no validation required.
Document new optional setting in project template settings file.
This commit is contained in:
Adarnof
2018-04-03 21:03:42 -04:00
parent cf7ddbe0e1
commit 7767226000
2 changed files with 20 additions and 5 deletions

View File

@@ -41,10 +41,12 @@ ESI_SSO_CLIENT_ID = ''
ESI_SSO_CLIENT_SECRET = ''
ESI_SSO_CALLBACK_URL = ''
# Emails are validated before new users can log in.
# By default emails are validated before new users can log in.
# It's recommended to use a free service like SparkPost or Mailgun to send email.
# https://www.sparkpost.com/docs/integrations/django/
# Set the default from email to something like 'noreply@example.com'
# Email validation can be turned off by uncommenting the line below. This can break some services.
# REGISTRATION_VERIFY_EMAIL = False
EMAIL_HOST = ''
EMAIL_PORT = 587
EMAIL_HOST_USER = ''