diff --git a/app/env_settings_example.py b/app/env_settings_example.py index 072892e..e094a24 100644 --- a/app/env_settings_example.py +++ b/app/env_settings_example.py @@ -17,7 +17,7 @@ MAIL_USERNAME = 'email@example.com' MAIL_PASSWORD = 'password' MAIL_DEFAULT_SENDER = '"AppName" ' -MAIL_SERVER = 'MAIL_SERVER', 'smtp.gmail.com' +MAIL_SERVER = 'smtp.gmail.com' MAIL_PORT = 465 MAIL_USE_SSL = True MAIL_USE_TLS = False diff --git a/app/templates/core/home_page.html b/app/templates/core/home_page.html index 7214ef0..b3a4bd4 100644 --- a/app/templates/core/home_page.html +++ b/app/templates/core/home_page.html @@ -5,7 +5,7 @@

Home page

This page is accessible to any user (signed in or not)

-{% if not current_user.is_authenticated() %} +{% if not current_user.is_authenticated %}

To view the User page, you must Sign in or diff --git a/app/templates/layout.html b/app/templates/layout.html index a4a9554..98fc4c3 100644 --- a/app/templates/layout.html +++ b/app/templates/layout.html @@ -26,7 +26,7 @@

- {% if current_user.is_authenticated() %} + {% if current_user.is_authenticated %} {{ current_user.first_name or current_user.user_auth.username }}   |   Sign out