class PasswordController extends AbstractController

Password Controller class

Properties

private UserFormFactoryInterface $userFormFactory Stores UserFormFactoryInterface
private UserServiceInterface $userService Stores UserServiceInterface
private UserPasswordInterface $userPassword Stores UserPasswordInterface

Methods

__construct(UserFormFactoryInterface $userFormFactory, UserServiceInterface $userService, UserPasswordInterface $userPassword)

No description

Response
changePassword(Request $request)

Displays the form to change the password

Response
resetPasswordRequest(Request $request)

Displays the form to reset password

Response
resetPasswordConfirm(Request $request, $token)

Displays the form to change password after reset or redirect to reset form if delay has expired

Details

at line 48
__construct(UserFormFactoryInterface $userFormFactory, UserServiceInterface $userService, UserPasswordInterface $userPassword)

Parameters

UserFormFactoryInterface $userFormFactory
UserServiceInterface $userService
UserPasswordInterface $userPassword

at line 69
Response changePassword(Request $request)

Displays the form to change the password

Parameters

Request $request

Return Value

Response

Exceptions

AccessDeniedException

at line 101
Response resetPasswordRequest(Request $request)

Displays the form to reset password

Parameters

Request $request

Return Value

Response

at line 138
Response resetPasswordConfirm(Request $request, $token)

Displays the form to change password after reset or redirect to reset form if delay has expired

Parameters

Request $request
$token

Return Value

Response

Exceptions

AccessDeniedException