Devise\Users\UsersResponseHandler::requestRecoverPassword PHP Method

requestRecoverPassword() public method

Executes recoverPassword method in SessionsRepository
public requestRecoverPassword ( array $input ) : Response
$input array
return Response
    public function requestRecoverPassword($input)
    {
        if ($this->SessionsRepository->recoverPassword($input)) {
            return $this->Redirect->route('dvs-user-recover-password')->with('message-success', $this->SessionsRepository->message);
        }
        return $this->Redirect->route('dvs-user-recover-password')->withInput()->withErrors($this->SessionsRepository->errors)->with('message-errors', $this->SessionsRepository->message);
    }