Added almost full registrar impersonation

This commit is contained in:
Pinga 2024-08-25 19:15:35 +03:00
parent b7c375ede2
commit 34d966aeeb
4 changed files with 45 additions and 1 deletions

View file

@ -95,6 +95,7 @@ $app->group('', function ($route) {
$route->get('/registrar', RegistrarsController::class .':registrar')->setName('registrar');
$route->map(['GET', 'POST'], '/registrar/edit', RegistrarsController::class .':editRegistrar')->setName('editRegistrar');
$route->get('/registrar/check', RegistrarsController::class . ':oteCheck')->setName('oteCheck');
$route->get('/registrar/impersonate/{registrar}', RegistrarsController::class . ':impersonateRegistrar')->setName('impersonateRegistrar');
$route->get('/users', UsersController::class .':listUsers')->setName('listUsers');