Login hasn't got a return value

This commit is contained in:
Michael 2021-06-08 09:51:17 +00:00
parent 9720ee2c20
commit 5853fe562d

View file

@ -39,9 +39,7 @@ abstract class ContactEndpoint extends BaseApi
{ {
parent::init($parameters); parent::init($parameters);
if (!self::login(self::SCOPE_READ)) { self::login(self::SCOPE_READ);
throw new HTTPException\UnauthorizedException();
}
} }
/** /**