set secret key :)
This commit is contained in:
parent
8e9bd5f009
commit
4e1b3e1134
1 changed files with 3 additions and 0 deletions
|
|
@ -478,6 +478,9 @@ sessions work::
|
|||
# remove the username from the session if its there
|
||||
session.pop('username', None)
|
||||
|
||||
# set the secret key. keep this really secret:
|
||||
app.secret_key = 'the secret key'
|
||||
|
||||
Message Flashing
|
||||
----------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue