mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
Login hasn't got a return value
This commit is contained in:
parent
9720ee2c20
commit
5853fe562d
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue