- {% endblock content %}
+{% extends "base.html" %}
+
+{% load static %}
+
+{% block title %}
+ Reset Password
+{% endblock title %}
+
+{% block css_files %}
+
+
+ {% endblock content %}
diff --git a/web-app/django/VIM/apps/main/templates/registration/reset_password_confirm.html b/web-app/django/VIM/apps/main/templates/registration/resetPasswordConfirm.html
similarity index 90%
rename from web-app/django/VIM/apps/main/templates/registration/reset_password_confirm.html
rename to web-app/django/VIM/apps/main/templates/registration/resetPasswordConfirm.html
index fbff852..9e4b154 100644
--- a/web-app/django/VIM/apps/main/templates/registration/reset_password_confirm.html
+++ b/web-app/django/VIM/apps/main/templates/registration/resetPasswordConfirm.html
@@ -1,35 +1,35 @@
-{% extends "base.html" %}
-
-{% load static %}
-
-{% block title %}
- Reset Password
-{% endblock title %}
-
-{% block css_files %}
-
-{% endblock css_files %}
-
-{% block content %}
-
-
-
-
-
- Set New Password
-
-
-
-
-
-
-{% endblock content %}
+{% extends "base.html" %}
+
+{% load static %}
+
+{% block title %}
+ Reset Password
+{% endblock title %}
+
+{% block css_files %}
+
+{% endblock css_files %}
+
+{% block content %}
+
+
+
+
+
+ Set New Password
+
+
+
+
+
+
+{% endblock content %}
diff --git a/web-app/django/VIM/apps/main/templates/registration/resetPasswordDone.html b/web-app/django/VIM/apps/main/templates/registration/resetPasswordDone.html
new file mode 100644
index 0000000..eec3ab4
--- /dev/null
+++ b/web-app/django/VIM/apps/main/templates/registration/resetPasswordDone.html
@@ -0,0 +1,40 @@
+{% extends "base.html" %}
+
+{% load static %}
+
+{% block title %}
+ Reset Password
+{% endblock title %}
+
+{% block css_files %}
+
+{% endblock css_files %}
+
+{% block content %}
+
+
+ {% if form.errors %}
+
+ {% for field, error in form.errors.items %}{{ error }}{% endfor %}
+
+ {% endif %}
+
+
+
+
+ Password Reset Email Sent
+
+
+ We've sent you an email with instructions to reset your password. Please check your inbox.
+
+
+
+
+
+
+{% endblock content %}
+
+{% block scripts %}
+{% endblock scripts %}
diff --git a/web-app/django/VIM/apps/main/templates/registration/reset_password_email.html b/web-app/django/VIM/apps/main/templates/registration/resetPasswordEmail.html
similarity index 100%
rename from web-app/django/VIM/apps/main/templates/registration/reset_password_email.html
rename to web-app/django/VIM/apps/main/templates/registration/resetPasswordEmail.html
diff --git a/web-app/django/VIM/apps/main/templates/registration/reset_password.html b/web-app/django/VIM/apps/main/templates/registration/reset_password.html
deleted file mode 100644
index f5c0486..0000000
--- a/web-app/django/VIM/apps/main/templates/registration/reset_password.html
+++ /dev/null
@@ -1,50 +0,0 @@
-{% extends "base.html" %}
-
-{% load static %}
-
-{% block title %}
- Reset Password
-{% endblock title %}
-
-{% block css_files %}
-
-{% endblock css_files %}
-
-{% block content %}
-
-
-
- {% if messages %}
-
- {% for message in messages %}{{ message }}{% endfor %}
-
- {% endif %}
- {% if form.errors %}
-
- {% for field, error in form.errors.items %}{{ error }}{% endfor %}
-
- {% endif %}
-
-
-
-
-{% endblock content %}
diff --git a/web-app/django/VIM/apps/main/templates/registration/reset_password_sent.html b/web-app/django/VIM/apps/main/templates/registration/reset_password_sent.html
deleted file mode 100644
index 80c5870..0000000
--- a/web-app/django/VIM/apps/main/templates/registration/reset_password_sent.html
+++ /dev/null
@@ -1,30 +0,0 @@
-{% extends "base.html" %}
-
-{% load static %}
-
-{% block title %}
- Reset Password
-{% endblock title %}
-
-{% block css_files %}
-
-{% endblock css_files %}
-
-{% block content %}
-
-{% endblock content %}
diff --git a/web-app/django/VIM/apps/main/urls.py b/web-app/django/VIM/apps/main/urls.py
index efd585e..55dd3c3 100644
--- a/web-app/django/VIM/apps/main/urls.py
+++ b/web-app/django/VIM/apps/main/urls.py
@@ -14,9 +14,9 @@
name="logout",
),
path(
- "change-password/",
+ "password-change/",
auth_views.PasswordChangeView.as_view(
- template_name="registration/change_password.html",
+ template_name="registration/changePassword.html",
success_url="/",
),
name="change_password",
@@ -32,34 +32,34 @@
name="login",
),
path(
- "reset-password/",
+ "password-reset/",
auth_views.PasswordResetView.as_view(
- template_name="registration/reset_password.html",
- email_template_name="registration/reset_password_email.html",
- success_url="/reset-password-sent/",
+ template_name="registration/resetPassword.html",
+ email_template_name="registration/resetPasswordEmail.html",
+ success_url="/password-reset/done/",
),
name="reset_password",
),
path(
- "reset-password-sent/",
+ "password-reset/done/",
auth_views.PasswordResetDoneView.as_view(
- template_name="registration/reset_password_sent.html",
+ template_name="registration/resetPasswordDone.html",
),
name="reset_password_done",
),
path(
"reset/
/",
auth_views.PasswordResetConfirmView.as_view(
- template_name="registration/reset_password_confirm.html",
+ template_name="registration/resetPasswordConfirm.html",
success_url="/reset-password-complete/",
),
- name="reset_password_confirm",
+ name="password_reset_confirm",
),
path(
- "reset-password-complete/",
+ "reset/done/",
auth_views.PasswordResetCompleteView.as_view(
- template_name="registration/reset_password_complete.html",
+ template_name="registration/resetPasswordComplete.html",
),
- name="reset_password_complete",
+ name="password_reset_complete",
),
]
diff --git a/web-app/django/VIM/templates/base.html b/web-app/django/VIM/templates/base.html
index 33d22b1..8fee959 100644
--- a/web-app/django/VIM/templates/base.html
+++ b/web-app/django/VIM/templates/base.html
@@ -20,7 +20,7 @@
-