Skip to content

Commit

Permalink
As per CTFd/CTFd#2425 accounts should always be able to see their own…
Browse files Browse the repository at this point in the history
… scores (#55)

As per CTFd/CTFd#2425 accounts should always be able to see their own scores

* Closes #54
  • Loading branch information
ColdHeat authored Nov 27, 2023
1 parent feb9eb1 commit 8f9bdbd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions templates/users/private.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ <h2 class="text-center">
{% endif %}
</h2>
<h2 class="text-center">
{% if account.place %}
{{ account.score }} <small>points</small>
{% endif %}
{{ account.get_score(admin=True) }} <small>points</small>
</h2>
</div>

Expand Down

0 comments on commit 8f9bdbd

Please sign in to comment.