diff --git a/app/__init__.py b/app/__init__.py index 3e130fc..fe59e13 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -8,6 +8,7 @@ cp = CSRFProtect() def create_app(): app = Flask(__name__) app.config['SECRET_KEY'] = 'SECRET_KEY' + app.config['WTF_CSRF_SSL_STRICT'] = False app.register_blueprint(index) cp.init_app(app) return app