disabled WTF_CSRF_SSL_STRICT because of missing referrer
This commit is contained in:
parent
fcd783ef26
commit
86ff8c0409
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ cp = CSRFProtect()
|
||||||
def create_app():
|
def create_app():
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.config['SECRET_KEY'] = 'SECRET_KEY'
|
app.config['SECRET_KEY'] = 'SECRET_KEY'
|
||||||
|
app.config['WTF_CSRF_SSL_STRICT'] = False
|
||||||
app.register_blueprint(index)
|
app.register_blueprint(index)
|
||||||
cp.init_app(app)
|
cp.init_app(app)
|
||||||
return app
|
return app
|
||||||
|
|
Loading…
Reference in a new issue