mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-03 16:21:50 +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
|
@ -11,6 +11,10 @@ class ReportsController extends Controller
|
|||
{
|
||||
public function view(Request $request, Response $response)
|
||||
{
|
||||
if ($_SESSION["auth_roles"] != 0) {
|
||||
return $response->withHeader('Location', '/dashboard')->withStatus(302);
|
||||
}
|
||||
|
||||
return view($response,'admin/reports/index.twig');
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue