mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-24 01:53:43 +03:00
27 lines
724 B
HTML
27 lines
724 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<h3>Password reset confirmation</h3><hr/>
|
|
{% include "fragments/password_reset_confirm_form.html" %}
|
|
</div>
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block script %}
|
|
<script type="text/javascript">
|
|
var url_elements = window.location.pathname.split('/');
|
|
if (url_elements.length == 6){
|
|
var uid = url_elements[url_elements.length - 3];
|
|
if (uid !== undefined){
|
|
$('input[name=uid]').val(uid);
|
|
}
|
|
var token = url_elements[url_elements.length - 2];
|
|
if (token !== undefined){
|
|
$('input[name=token]').val(token);
|
|
}
|
|
}
|
|
</script>
|
|
{% endblock %}
|