cenas
This commit is contained in:
parent
19dd4ba368
commit
cb16b627b4
|
@ -48,6 +48,7 @@ use App\Core\DB\DB;
|
||||||
use App\Core\I18n\I18n;
|
use App\Core\I18n\I18n;
|
||||||
use App\Core\Queue\Queue;
|
use App\Core\Queue\Queue;
|
||||||
use App\Core\Router\Router;
|
use App\Core\Router\Router;
|
||||||
|
use App\Entity\LocalUser;
|
||||||
use App\Kernel;
|
use App\Kernel;
|
||||||
use App\Security\EmailVerifier;
|
use App\Security\EmailVerifier;
|
||||||
use App\Util\Common;
|
use App\Util\Common;
|
||||||
|
@ -291,6 +292,7 @@ class GNUsocial implements EventSubscriberInterface
|
||||||
{
|
{
|
||||||
// TODO: if using 3rd party clients, make sure the user approves access
|
// TODO: if using 3rd party clients, make sure the user approves access
|
||||||
$event->resolveAuthorization(true);
|
$event->resolveAuthorization(true);
|
||||||
|
$event->setUser(LocalUser::getById(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user