mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2025-10-12 10:08:02 +00:00
Enable users to view their own key (#107)
This commit is contained in:
@@ -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"/>
|
||||
|
Reference in New Issue
Block a user