From 8e40e81c19ca434eca48f75be9580203b0e7ab9b Mon Sep 17 00:00:00 2001 From: Jannis Portmann Date: Sun, 16 Apr 2023 19:19:23 +0200 Subject: [PATCH] Remove templates --- .../reset_password/check_email.html.twig | 11 ---------- .../templates/reset_password/email.html.twig | 9 -------- .../reset_password/request.html.twig | 22 ------------------- .../templates/reset_password/reset.html.twig | 11 ---------- 4 files changed, 53 deletions(-) delete mode 100644 pflaenzli/pflaenzli/templates/reset_password/check_email.html.twig delete mode 100644 pflaenzli/pflaenzli/templates/reset_password/email.html.twig delete mode 100644 pflaenzli/pflaenzli/templates/reset_password/request.html.twig delete mode 100644 pflaenzli/pflaenzli/templates/reset_password/reset.html.twig diff --git a/pflaenzli/pflaenzli/templates/reset_password/check_email.html.twig b/pflaenzli/pflaenzli/templates/reset_password/check_email.html.twig deleted file mode 100644 index 051ad57..0000000 --- a/pflaenzli/pflaenzli/templates/reset_password/check_email.html.twig +++ /dev/null @@ -1,11 +0,0 @@ -{% extends 'base.html.twig' %} - -{% block title %}Password Reset Email Sent{% endblock %} - -{% block content %} -

- An email has been sent that contains a link that you can click to reset your password. - This link will expire in {{ resetToken.expirationMessageKey|trans(resetToken.expirationMessageData, 'ResetPasswordBundle') }}. -

-

If you don't receive an email please check your spam folder or try again.

-{% endblock %} diff --git a/pflaenzli/pflaenzli/templates/reset_password/email.html.twig b/pflaenzli/pflaenzli/templates/reset_password/email.html.twig deleted file mode 100644 index 824a218..0000000 --- a/pflaenzli/pflaenzli/templates/reset_password/email.html.twig +++ /dev/null @@ -1,9 +0,0 @@ -

Hi!

- -

To reset your password, please visit the following link

- -{{ url('app_reset_password', {token: resetToken.token}) }} - -

This link will expire in {{ resetToken.expirationMessageKey|trans(resetToken.expirationMessageData, 'ResetPasswordBundle') }}.

- -

Cheers!

diff --git a/pflaenzli/pflaenzli/templates/reset_password/request.html.twig b/pflaenzli/pflaenzli/templates/reset_password/request.html.twig deleted file mode 100644 index 311ccd6..0000000 --- a/pflaenzli/pflaenzli/templates/reset_password/request.html.twig +++ /dev/null @@ -1,22 +0,0 @@ -{% extends 'base.html.twig' %} - -{% block title %}Reset your password{% endblock %} - -{% block content %} - {% for flashError in app.flashes('reset_password_error') %} - - {% endfor %} -

Reset your password

- - {{ form_start(requestForm) }} - {{ form_row(requestForm.email) }} -
- - Enter your email address and we we will send you a - link to reset your password. - -
- - - {{ form_end(requestForm) }} -{% endblock %} \ No newline at end of file diff --git a/pflaenzli/pflaenzli/templates/reset_password/reset.html.twig b/pflaenzli/pflaenzli/templates/reset_password/reset.html.twig deleted file mode 100644 index 8f2d790..0000000 --- a/pflaenzli/pflaenzli/templates/reset_password/reset.html.twig +++ /dev/null @@ -1,11 +0,0 @@ -{% extends 'base.html.twig' %} - -{% block title %}Reset your password{% endblock %} - -{% block content %} -

Reset your password

- - {{ form_start(resetForm) }} - {{form_widget(resetForm)}} - {{ form_end(resetForm) }} -{% endblock %}