implemented new model for database, new routes for save. Fixed logout not allowing post requests

This commit is contained in:
2026-03-30 13:22:04 +02:00
parent 5781eef189
commit b808b0017b
12 changed files with 94 additions and 3 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ def login():
return render_template("login.html")
@login_bp.route('/logout')
@login_bp.route('/logout', methods=['POST'])
@login_required
def logout():
logout_user()