2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00

Remove "forgot password" link if the email backend is not configured

This commit is contained in:
Oliver Walters
2021-04-13 20:02:20 +10:00
parent f902b79d79
commit 96efb0eb28
6 changed files with 58 additions and 7 deletions

View File

@ -89,9 +89,12 @@
<button class='pull-right btn btn-primary login-button' type="submit">{% trans "Login" %}</button>
</form>
{% if email_configured %}
<hr><br>
<p>{% trans "Forgotten your password?" %} - <a href='{% url "password_reset" %}'>{% trans "Click here to reset" %}</a></p>
</div>
{% endif %}
</div>
</div>
</div>