mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-22 18:45:59 +02:00
Added ability for registrars to edit their own accounts
Also small fixes to role based access
This commit is contained in:
parent
9af773eb37
commit
97343361cc
8 changed files with 946 additions and 14 deletions
|
@ -13,14 +13,18 @@ class LogsController extends Controller
|
|||
{
|
||||
return view($response,'admin/logs/index.twig');
|
||||
}
|
||||
|
||||
|
||||
public function poll(Request $request, Response $response)
|
||||
{
|
||||
return view($response,'admin/logs/poll.twig');
|
||||
}
|
||||
|
||||
|
||||
public function log(Request $request, Response $response)
|
||||
{
|
||||
if ($_SESSION["auth_roles"] != 0) {
|
||||
return $response->withHeader('Location', '/dashboard')->withStatus(302);
|
||||
}
|
||||
|
||||
return view($response,'admin/logs/log.twig');
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue