Removed the secret key from the code

This commit is contained in:
John David White
2025-01-15 16:01:20 +00:00
committed by GitHub
parent 3a2dd010c4
commit dcdc8d248f

View File

@@ -4,7 +4,7 @@ from functools import wraps
from core.forms import SignupForm, LoginForm from core.forms import SignupForm, LoginForm
app = Flask(__name__, template_folder="../ui/templates/") app = Flask(__name__, template_folder="../ui/templates/")
app.config["SECRET_KEY"] = "j9573-4952-9029-1034" app.config["SECRET_KEY"] = ""
@app.before_request @app.before_request
def logged_in_user(): def logged_in_user():
@@ -61,4 +61,4 @@ def login():
password = form.username.data password = form.username.data
# Compare with database # Compare with database
return return