2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-08 21:00:55 +00:00

setting for pwd forgot

This commit is contained in:
Matthias
2021-09-05 19:56:48 +02:00
parent 1146e2abd9
commit fa1ea2f701
5 changed files with 31 additions and 4 deletions

View File

@@ -1,11 +1,13 @@
{% extends "account/base.html" %}
{% load i18n account socialaccount crispy_forms_tags %}
{% load i18n account socialaccount crispy_forms_tags inventree_extras %}
{% block head_title %}{% trans "Sign In" %}{% endblock %}
{% block content %}
{% settings_value 'LOGIN_ENABLE_PWD_FORGOT' as enable_pwd_forgot %}
<h1>{% trans "Sign In" %}</h1>
{% get_providers as socialaccount_providers %}
@@ -27,7 +29,9 @@ for a account and sign in below:{% endblocktrans %}</p>
<div class="btn-toolbar">
<button class="btn btn-primary col-md-8" type="submit">{% trans "Sign In" %}</button>
{% if enable_pwd_forgot %}
<a class="btn btn-primary" href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
{% endif %}
</div>
</form>