Skip to content

Commit

Permalink
Revert redirect change in e0533d
Browse files Browse the repository at this point in the history
  • Loading branch information
jdabtieu committed Oct 29, 2023
1 parent 7807f5d commit 6452e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/contest.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def contest_scoreboard(contest_id):
# Ensure proper permissions
if not (contest_info[0]["scoreboard_visible"] or check_perm(["ADMIN", "SUPERADMIN"])):
flash('You are not allowed to view the scoreboard!', 'danger')
return redirect(request.referrer)
return redirect("/contest/" + contest_id)

data = db.execute(
("SELECT user_id, points, lastAC, username FROM contest_users "
Expand Down

0 comments on commit 6452e15

Please sign in to comment.