From fe751afcbf8f4e51cb103f51b9a3516ac1c5e5d5 Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 19 Dec 2024 11:08:04 +0800 Subject: [PATCH] perf: add demo mode --- apps/authentication/templates/authentication/login.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/authentication/templates/authentication/login.html b/apps/authentication/templates/authentication/login.html index 47bc3fb8b..88899c044 100644 --- a/apps/authentication/templates/authentication/login.html +++ b/apps/authentication/templates/authentication/login.html @@ -402,6 +402,14 @@ + {% if demo_mode %} +
+

+ {% trans 'Username' %}: demo {% trans 'Password' %}: jumpserver +

+
+ {% endif %} +
{% if auth_methods %}