mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
a little bit change on flask example
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
|
||||
@@ -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')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user