mirror of
https://github.com/Doctorado-ML/beflask.git
synced 2025-08-16 23:55:52 +00:00
Fix some problems with password form
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user