mirror of
https://github.com/simple-login/app.git
synced 2024-09-28 20:51:29 +02:00
only show custom domain to user with can_use_custom_domain flag
This commit is contained in:
parent
a827b27215
commit
8850f72a1c
@ -50,6 +50,12 @@
|
||||
<i class="dropdown-icon fe fe-chrome"></i> API Key
|
||||
</a>
|
||||
|
||||
{% if current_user.can_use_custom_domain %}
|
||||
<a class="dropdown-item" href="{{ url_for('dashboard.custom_domain') }}">
|
||||
<i class="dropdown-icon fe fe-server"></i> Custom Domains
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if current_user.is_premium() %}
|
||||
<a class="dropdown-item" href="{{ url_for('dashboard.billing') }}">
|
||||
<i class="dropdown-icon fe fe-dollar-sign"></i> Billing
|
||||
|
Loading…
Reference in New Issue
Block a user