From a45b8dcf0e72f82236e9b18b82ce5e815e379633 Mon Sep 17 00:00:00 2001
From: Matthias
Date: Thu, 7 Oct 2021 17:50:36 +0200
Subject: [PATCH] check also here if mail is enabled
---
InvenTree/templates/account/login.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/InvenTree/templates/account/login.html b/InvenTree/templates/account/login.html
index 574cfa01f3..d925867eb7 100644
--- a/InvenTree/templates/account/login.html
+++ b/InvenTree/templates/account/login.html
@@ -9,6 +9,7 @@
{% settings_value 'LOGIN_ENABLE_REG' as enable_reg %}
{% settings_value 'LOGIN_ENABLE_PWD_FORGOT' as enable_pwd_forgot %}
{% settings_value 'LOGIN_ENABLE_SSO' as enable_sso %}
+{% mail_configured as mail_conf %}
{% trans "Sign In" %}
@@ -33,7 +34,7 @@ for a account and sign in below:{% endblocktrans %}