mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 17:35:27 +08:00
show warning on authorize page for non-approved app
This commit is contained in:
parent
bbfb69d774
commit
7d4e1048af
1 changed files with 7 additions and 0 deletions
|
@ -32,7 +32,14 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block default_content %}
|
||||
|
||||
<form class="card" method="post" style="max-width: 40rem; margin: auto">
|
||||
{% if not client.approved %}
|
||||
<div class="alert alert-warning" style="border-bottom: 3px solid;">
|
||||
{{ client.name }} is in Test Mode.
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="card-body p-6">
|
||||
<!-- User has already authorized this client -->
|
||||
{% if client_user %}
|
||||
|
|
Loading…
Reference in a new issue