changed has_roles to has_role for singular role check

technically actually less direct when you look at the code, but inefficiency? I care not
This commit is contained in:
Xevion
2020-01-05 04:41:40 -06:00
parent f56ebd74d9
commit 5076b782ee

View File

@@ -116,7 +116,7 @@ Color = Bulma Color Type of the Message Box
<div class="navbar-text">Dashboard</div>
</a>
<hr class="navbar-divider">
{% if current_user.has_roles(['Hidden']) %}
{% if current_user.has_role('Hidden') %}
<a class="navbar-item" href="{{ url_for('hidden') }}">
<span class="navbar-fa-icon fas fa-user-ninja"></span>
Hidden