#}
diff --git a/core/templates/registration/passwor_reset_complete.html b/core/templates/registration/passwor_reset_complete.html
new file mode 100644
index 0000000..c61cb0c
--- /dev/null
+++ b/core/templates/registration/passwor_reset_complete.html
@@ -0,0 +1,37 @@
+{% extends "index.html" %}
+{% load i18n static %}
+
+{% block content %}
+
+
+
+{% endblock content %}
diff --git a/core/templates/registration/passwor_reset_confirm.html b/core/templates/registration/passwor_reset_confirm.html
new file mode 100644
index 0000000..a8e2d8c
--- /dev/null
+++ b/core/templates/registration/passwor_reset_confirm.html
@@ -0,0 +1,48 @@
+{% extends "index.html" %}
+{% load i18n static %}
+
+{% block content%}
+
+
+
+{% endblock content %}
diff --git a/core/templates/registration/passwor_reset_done.html b/core/templates/registration/passwor_reset_done.html
new file mode 100644
index 0000000..6587fee
--- /dev/null
+++ b/core/templates/registration/passwor_reset_done.html
@@ -0,0 +1,41 @@
+{% extends "index.html" %}
+{% load i18n static %}
+
+{% block content %}
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+{% endblock %}
diff --git a/core/templates/registration/passwor_reset_email.html b/core/templates/registration/passwor_reset_email.html
new file mode 100644
index 0000000..65c725b
--- /dev/null
+++ b/core/templates/registration/passwor_reset_email.html
@@ -0,0 +1,14 @@
+To initiate the password reset process for your {{ user.get_username }} TestSite Account,
+click the link below:
+
+{% block reset_link %}
+{{ protocol }}://{{ domain }}{% url 'core:passwor_reset_confirm' uidb36=uid token=token %}
+
+{% endblock %}
+
+If clicking the link above doesn't work, please copy and paste the URL in a new browser
+window instead.
+
+
+Sincerely,
+Amadeus.
diff --git a/core/templates/registration/passwor_reset_form.html b/core/templates/registration/passwor_reset_form.html
new file mode 100644
index 0000000..f662845
--- /dev/null
+++ b/core/templates/registration/passwor_reset_form.html
@@ -0,0 +1,32 @@
+{% extends "index.html" %}
+{% load i18n static %}
+
+{% block content %}
+
+
+ <
+
+
+
+
+

+
+
+
+
+
+
+
+
+
Recuperar a senha
+
+
+
+
+
+
+{% endblock content %}
diff --git a/core/urls.py b/core/urls.py
index 032c1f7..fc240cb 100644
--- a/core/urls.py
+++ b/core/urls.py
@@ -1,5 +1,6 @@
from django.conf.urls import url, include
from django.contrib.auth import views as auth_views
+from django.contrib.auth.views import password_reset, password_reset_done,password_reset_confirm, password_reset_complete
from . import views
@@ -11,4 +12,10 @@ urlpatterns = [
url(r'^logout/$', auth_views.logout, {'next_page': 'core:home'}, name='logout'),
url(r'^notification/([0-9]+)/$', views.processNotification, name='notification_read'),
url(r'^getNotifications/$', views.getNotifications, name='getNotifications'),
+
+ url(r'^reset/$', password_reset, {'template_name':'registration/passwor_reset_form.html','email_template_name':'registration/password_reset_email.html','post_reset_redirect':'done/'}, name="password_reset"),
+ url(r'^reset/done/$', password_reset_done, {'template_name':'registration/passwor_reset_done.html'}),
+ url(r'^reset/(?P
[0-9A-Za-z]+)/(?P[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$', password_reset_confirm, {'template_name':'registration/password_reset_confirm.html'}),
+ url(r'^done/$', password_reset_complete,{'template_name':'registration/passwor_reset_complete.html'}),
+
]
--
libgit2 0.21.2