Skip to content
Snippets Groups Projects

add

Merged Hamza Touizrat requested to merge verification_mail into master
4 files
+ 352
3
Compare changes
  • Side-by-side
  • Inline

Files

+ 2
1
@@ -15,7 +15,6 @@ load_dotenv()
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
dn = os.path.dirname
BASE_DIR = dn(dn(dn(os.path.abspath(__file__))))
# SECURITY WARNING: keep the secret key used in production secret!
# One way to do this is to store it in an environment variable on the server
SECRET_KEY = os.environ.get('SECRET_KEY',
@@ -267,6 +266,8 @@ SENDGRID_ECHO_TO_STDOUT = True
MAILS_ENABLED = True
MAILS_NOTIFICATIONS_ADDRESS = 'notifications@oser-cs.fr'
MAILS_RAISE_EXCEPTIONS = False
HTML_MESSAGE_TEMPLATE = BASE_DIR + \
"/profiles/templates/profiles/template_email_verification.html"
# Visits app config
VISITS_TEAM_EMAIL = os.environ.get('VISITS_TEAM_EMAIL',
Loading