add the ability to reset user's password

admin only and will randomly generate a password
This commit is contained in:
aronwk-aaron
2022-10-16 20:39:20 -05:00
parent a7419679d0
commit a5f7024211
2 changed files with 43 additions and 5 deletions

View File

@@ -108,6 +108,12 @@
</div>
{% endif %}
</div>
{% elif current_user.gm_level = 9%}
<div class="col">
<a role="button" class="btn btn-danger btn btn-block" href='{{ url_for('accounts.pass_reset', id= account_data.id) }}'>
Reset User's Password
</a>
</div>
{% endif %}
{% if account_data.play_key and current_user.gm_level > 3 and config.REQUIRE_PLAY_KEY %}