From 68a40c860ae83bd35a89000df432325dabb7094e Mon Sep 17 00:00:00 2001 From: Ivlev Denis Date: Wed, 28 Mar 2018 09:03:12 +0300 Subject: [PATCH] LIL-344. Fix password reset templates --- apps/auth/templates/auth/password_reset.html | 4 ++-- apps/auth/templates/auth/password_reset.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/auth/templates/auth/password_reset.html b/apps/auth/templates/auth/password_reset.html index 0467d253..c611ee51 100644 --- a/apps/auth/templates/auth/password_reset.html +++ b/apps/auth/templates/auth/password_reset.html @@ -3,8 +3,8 @@ {% block content %}

Для восстановления пароля нажмите кнопку ниже.

- Нажмите для восстановления + Нажмите для восстановления

Или скопируйте ссылку ниже, и вставьте её в адресную строку браузера.

-

{{ protocol}}://{{ domain }}{% url 'lilcity:password_reset_confirm' uidb64=uid token=token %}

+

{{ domain }}{% url 'lilcity:password_reset_confirm' uidb64=uid token=token %}

{% endblock content %} diff --git a/apps/auth/templates/auth/password_reset.txt b/apps/auth/templates/auth/password_reset.txt index dfd0f38b..403aa7bd 100644 --- a/apps/auth/templates/auth/password_reset.txt +++ b/apps/auth/templates/auth/password_reset.txt @@ -1,2 +1,2 @@ Восстановление пароля для {{ email }}. Перейдите по ссылке ниже: -{{ protocol}}://{{ domain }}{% url 'lilcity:password_reset_confirm' uidb64=uid token=token %} \ No newline at end of file +{{ domain }}{% url 'lilcity:password_reset_confirm' uidb64=uid token=token %}