diff --git a/apps/auth/templates/auth/password_reset_subject.txt b/apps/auth/templates/auth/password_reset_subject.txt index bca0a5e0..46155f81 100644 --- a/apps/auth/templates/auth/password_reset_subject.txt +++ b/apps/auth/templates/auth/password_reset_subject.txt @@ -1 +1 @@ -Password reset \ No newline at end of file +Восстановление пароля diff --git a/apps/auth/views.py b/apps/auth/views.py index 4365c0e3..4e173b1b 100644 --- a/apps/auth/views.py +++ b/apps/auth/views.py @@ -56,7 +56,7 @@ class LearnerRegistrationView(FormView): refferer = str(refferer[0]) + '://' + str(refferer[1]) token = verification_email_token.make_token(user) url = refferer + str(reverse_lazy('lilcity:verification-email', args=[token])) - send_email('Verification Email', email, "notification/email/verification_email.html", url=url, config=config) + send_email('Вы успешно прошли регистрацию', email, "notification/email/verification_email.html", url=url, config=config) return JsonResponse({"success": True}, status=201) diff --git a/apps/user/views.py b/apps/user/views.py index 1c0e77b6..bf2a6ebd 100644 --- a/apps/user/views.py +++ b/apps/user/views.py @@ -37,7 +37,7 @@ User = get_user_model() def resend_email_verify(request): token = verification_email_token.make_token(request.user) url = request.scheme + '://' + request.get_host() + str(reverse_lazy('lilcity:verification-email', args=[token])) - send_email('Verification Email', request.user.email, "notification/email/verification_email.html", url=url) + send_email('Вы успешно прошли регистрацию', request.user.email, "notification/email/verification_email.html", url=url) messages.info(request, 'Письмо подтверждения отправлено.') return redirect('user-edit-profile', request.user.id)