Skip to content

Commit

Permalink
Add secret key for csrf token
Browse files Browse the repository at this point in the history
  • Loading branch information
nvalis committed May 12, 2017
1 parent 79768b7 commit de8d521
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
from flask import Flask

app = Flask(__name__)
app.config.update(
DEBUG=True,
SECRET_KEY='you-will-never-guess'
)

from app import views

0 comments on commit de8d521

Please sign in to comment.