Fix some problems with password form

This commit is contained in:
2023-06-08 22:26:46 +02:00
parent a3d182d54e
commit ea8d928d42
4 changed files with 20 additions and 18 deletions

View File

@@ -35,7 +35,7 @@ def index():
return render_template("index.html", benchmarks=benchmarks)
@main.route("/set_benchmark/<benchmark_id>")
@main.route("/set_benchmark/<int:benchmark_id>")
@login_required
def set_benchmark(benchmark_id):
if int(benchmark_id) == current_user.benchmark_id: