Login hasn't got a return value
This commit is contained in:
@@ -39,9 +39,7 @@ abstract class ContactEndpoint extends BaseApi
|
||||
{
|
||||
parent::init($parameters);
|
||||
|
||||
if (!self::login(self::SCOPE_READ)) {
|
||||
throw new HTTPException\UnauthorizedException();
|
||||
}
|
||||
self::login(self::SCOPE_READ);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user