diff --git a/InvenTree/templates/account/login.html b/InvenTree/templates/account/login.html index fbe48224b4..6e62560bfa 100644 --- a/InvenTree/templates/account/login.html +++ b/InvenTree/templates/account/login.html @@ -1,5 +1,6 @@ {% extends "account/base.html" %} +{% load inventree_extras %} {% load i18n account socialaccount crispy_forms_tags inventree_extras %} {% block head_title %}{% trans "Sign In" %}{% endblock %} @@ -10,6 +11,7 @@ {% settings_value 'LOGIN_ENABLE_PWD_FORGOT' as enable_pwd_forgot %} {% settings_value 'LOGIN_ENABLE_SSO' as enable_sso %} {% mail_configured as mail_conf %} +{% inventree_demo_mode as demo %}

{% trans "Sign In" %}

@@ -36,9 +38,16 @@ for a account and sign in below:{% endblocktrans %}

- {% if mail_conf and enable_pwd_forgot %} + {% if mail_conf and enable_pwd_forgot and not demo %} {% trans "Forgot Password?" %} {% endif %} + {% if demo %} +

+

+ {% trans "InvenTree demo instance" %} - {% trans "Click here for login details" %} +
+

+ {% endif %} {% if enable_sso %}