Enable users to view their own key (#107)

This commit is contained in:
HailStorm32 2025-05-12 12:55:54 -07:00 committed by GitHub
parent 823ec2008f
commit 7eef06adc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -116,7 +116,7 @@
</div>
{% endif %}
{% if account_data.play_key and current_user.gm_level > 3 and config.REQUIRE_PLAY_KEY %}
{% if account_data.play_key and config.REQUIRE_PLAY_KEY %}
<hr class="bg-primary"/>
<div class="row">
<div class="col text-center">
@ -133,6 +133,7 @@
{{ account_data.play_key.key_string }}
</div>
</div>
{% if current_user.gm_level > 3 %}
<div class="row">
<div class="col text-right">
Uses Left:
@ -154,6 +155,7 @@
</div>
</div>
{% endif %}
{% endif %}
{% if current_user.id != account_data.id and current_user.gm_level > 3 %}
<hr class="bg-primary"/>