2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Add a 'set password' form

This commit is contained in:
Oliver Walters
2019-05-14 13:58:23 +10:00
parent 0032ea3409
commit b996c03f61
5 changed files with 87 additions and 3 deletions

View File

@ -0,0 +1,7 @@
{% extends "modal_form.html" %}
{% block pre_form_content %}
{{ block.super }}
{% endblock %}

View File

@ -54,4 +54,13 @@ InvenTree | Settings
);
});
$("#edit-password").on('click', function() {
launchModalForm(
"{% url 'set-password' %}",
{
reload: true,
}
);
});
{% endblock %}