public function forgotPassword($email)
    {
        $account = $this->findByEmail($email);

        //if($account instanceof UserInterface){

            return app('account.password')->requestChangePassword($account);
        //}

        return false;
    }
public function forgotPassword($email)
    {
        $account = $this->findByEmail($email);

        //if($account instanceof UserInterface){

            return app('account.password')->requestChangePassword($account);
        //}

        return false;
    }
public function forgotPassword ( $ email ) { $ account = $ this -> findByEmail ( $ email ) ; //if($account instanceof UserInterface){ return app ( 'account.password' ) -> requestChangePassword ( $ account ) ; //} return false ; }
If an user with the given email exists then generate a token for password
change and saves it in the 'password_reminders' table with the email
of the user.

@param string $email
todo user interface

@return string $token
If an user with the given email exists then generate a token for password change and saves it in the password_reminders table with the email of the user .