a little bit change on flask example

This commit is contained in:
amammad
2023-07-24 21:41:54 +10:00
parent bbba906ff1
commit 0e8f83460c
2 changed files with 2 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ app.config.from_pyfile("config3.py")
@app.route('/')
def CheckForSecretKeyValue():
# debugging whether secret_key is secure or not
return app.secret_key, session.get('logged_in')

View File

@@ -15,6 +15,7 @@ app.config.from_object('settings')
@app.route('/')
def CheckForSecretKeyValue():
# debugging whether secret_key is secure or not
return app.secret_key, session.get('logged_in')