disabled WTF_CSRF_SSL_STRICT because of missing referrer

This commit is contained in:
Finn Christiansen 2018-12-30 09:45:58 +01:00
parent fcd783ef26
commit 86ff8c0409

View file

@ -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