perf: add demo mode

pull/14774/head^2
ibuler 2024-12-19 11:08:04 +08:00
parent 69d2a23861
commit fe751afcbf
1 changed files with 8 additions and 0 deletions

View File

@ -402,6 +402,14 @@
</button>
</div>
{% if demo_mode %}
<div>
<p class="red-fonts" style='text-align: center;'>
{% trans 'Username' %}: demo {% trans 'Password' %}: jumpserver
</p>
</div>
{% endif %}
<div class="more-login">
{% if auth_methods %}
<div class="more-methods-title {{ current_lang.code }}">