Skip to content

Commit 4a3a729

Browse files
committed
minor #793 Fix: Rendering issue (OskarStark)
This PR was squashed before being merged into the 1.0-dev branch. Discussion ---------- Fix: Rendering issue Before: ![CleanShot 2021-01-21 at 21 04 35](https://user-images.githubusercontent.com/995707/105406126-48862780-5c2c-11eb-8092-05b6ace0b83e.png) After: ![CleanShot 2021-01-21 at 21 04 54](https://user-images.githubusercontent.com/995707/105406156-5340bc80-5c2c-11eb-9e8c-1be2ed63b468.png) Same for the other methods Commits ------- 7e5602e Fix: Rendering issue
2 parents 0a40b0e + 7e5602e commit 4a3a729

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Resources/skeleton/resetPassword/ResetPasswordController.tpl.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ public function __construct(ResetPasswordHelperInterface $resetPasswordHelper)
3838

3939
/**
4040
* Display & process form to request a password reset.
41-
*
4241
<?php if ($use_attributes) { ?>
4342
*/
4443
#[Route('', name: 'app_forgot_password_request')]
4544
<?php } else { ?>
45+
*
4646
* @Route("", name="app_forgot_password_request")
4747
*/
4848
<?php } ?>
@@ -65,11 +65,11 @@ public function request(Request $request, MailerInterface $mailer): Response
6565

6666
/**
6767
* Confirmation page after a user has requested a password reset.
68-
*
6968
<?php if ($use_attributes) { ?>
7069
*/
7170
#[Route('/check-email', name: 'app_check_email')]
7271
<?php } else { ?>
72+
*
7373
* @Route("/check-email", name="app_check_email")
7474
*/
7575
<?php } ?>
@@ -87,11 +87,11 @@ public function checkEmail(): Response
8787

8888
/**
8989
* Validates and process the reset URL that the user clicked in their email.
90-
*
9190
<?php if ($use_attributes) { ?>
9291
*/
9392
#[Route('/reset/{token}', name: 'app_reset_password')]
9493
<?php } else { ?>
94+
*
9595
* @Route("/reset/{token}", name="app_reset_password")
9696
*/
9797
<?php } ?>

0 commit comments

Comments
 (0)