public function reset(string $code, string $new_password): bool
    {
        return $this->auth_repository->reset($code, $new_password);
    }
public function reset(string $code, string $new_password): bool
    {
        return $this->auth_repository->reset($code, $new_password);
    }
public function reset ( string $ code , string $ new_password ) : bool { return $ this -> auth_repository -> reset ( $ code , $ new_password ) ; }
Reset user password by code.

@param string $code         Return value of self::forgot()
@param string $new_password New password for user

@return bool
Reset user password by code .