@@ -24,14 +24,14 @@ discard block |
||
24 | 24 | class LoginController extends BaseRestController implements PublicControllerInterface |
25 | 25 | { |
26 | 26 | |
27 | - /** |
|
28 | - * Send an email with a link to reset user's password. |
|
29 | - * |
|
30 | - * @ApiDoc( |
|
31 | - * description="Send an email with a link to reset user's password." |
|
32 | - * ) |
|
33 | - * @Post("password/email/reset", options={"i18n"=false}) |
|
34 | - */ |
|
27 | + /** |
|
28 | + * Send an email with a link to reset user's password. |
|
29 | + * |
|
30 | + * @ApiDoc( |
|
31 | + * description="Send an email with a link to reset user's password." |
|
32 | + * ) |
|
33 | + * @Post("password/email/reset", options={"i18n"=false}) |
|
34 | + */ |
|
35 | 35 | public function resetPasswordEmailAction(Request $request): Response |
36 | 36 | { |
37 | 37 | $email = $request->request->get('email'); |
@@ -66,14 +66,14 @@ discard block |
||
66 | 66 | return $this->handleView($view); |
67 | 67 | } |
68 | 68 | |
69 | - /** |
|
70 | - * Reset password view. |
|
71 | - * |
|
72 | - * @ApiDoc( |
|
73 | - * description="Reset password view." |
|
74 | - * ) |
|
75 | - * @Get("password/reset", options={"i18n"=false}) |
|
76 | - */ |
|
69 | + /** |
|
70 | + * Reset password view. |
|
71 | + * |
|
72 | + * @ApiDoc( |
|
73 | + * description="Reset password view." |
|
74 | + * ) |
|
75 | + * @Get("password/reset", options={"i18n"=false}) |
|
76 | + */ |
|
77 | 77 | public function resetPasswordGetAction(Request $request): Response |
78 | 78 | { |
79 | 79 | $token = $request->query->get('token'); |
@@ -322,11 +322,11 @@ |
||
322 | 322 | } |
323 | 323 | } |
324 | 324 | |
325 | - /** |
|
326 | - * Get passwordResetToken. |
|
327 | - * |
|
328 | - * @inheritDoc |
|
329 | - */ |
|
325 | + /** |
|
326 | + * Get passwordResetToken. |
|
327 | + * |
|
328 | + * @inheritDoc |
|
329 | + */ |
|
330 | 330 | public function getPasswordResetToken() |
331 | 331 | { |
332 | 332 | return $this->passwordResetToken; |