Removed the secret key from the code
This commit is contained in:
@@ -4,7 +4,7 @@ from functools import wraps
|
||||
from core.forms import SignupForm, LoginForm
|
||||
|
||||
app = Flask(__name__, template_folder="../ui/templates/")
|
||||
app.config["SECRET_KEY"] = "j9573-4952-9029-1034"
|
||||
app.config["SECRET_KEY"] = ""
|
||||
|
||||
@app.before_request
|
||||
def logged_in_user():
|
||||
@@ -61,4 +61,4 @@ def login():
|
||||
password = form.username.data
|
||||
|
||||
# Compare with database
|
||||
return
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user