|
@ -22,12 +22,11 @@ def create_app(): |
|
|
APP.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = True |
|
|
APP.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = True |
|
|
APP.config["MAX_CONTENT_LENGTH"] = 150 * 1024 * 1024 |
|
|
APP.config["MAX_CONTENT_LENGTH"] = 150 * 1024 * 1024 |
|
|
|
|
|
|
|
|
APP.config["MAIL_SERVER"] = "0.0.0.0" |
|
|
APP.config["MAIL_SERVER"] = "mail.autonomic.zone" |
|
|
APP.config["MAIL_PORT"] = 1025 |
|
|
APP.config["MAIL_PORT"] = 587 |
|
|
APP.config["MAIL_USE_SSL"] = False |
|
|
APP.config["MAIL_USE_SSL"] = False |
|
|
APP.config["MAIL_USE_TLS"] = True |
|
|
APP.config["MAIL_USE_TLS"] = True |
|
|
# APP.config['MAIL_USERNAME'] = 'username' |
|
|
APP.config['MAIL_USERNAME'] = "noreply@vvvvvvaria.org" |
|
|
# APP.config['MAIL_PASSWORD'] = 'password' |
|
|
|
|
|
|
|
|
|
|
|
login_manager.session_protection = "strong" |
|
|
login_manager.session_protection = "strong" |
|
|
login_manager.login_view = "index" |
|
|
login_manager.login_view = "index" |
|
|