-
-
Notifications
You must be signed in to change notification settings - Fork 239
Open
Description
I tryed to execute like the documentation
$router->before('GET|POST', '/admin/.*', function() {
if (!isset($_SESSION['user'])) {
header('location: /auth/login');
exit();
}
});
but isnt working the request goes direct into private side of application without check if user has access and is loged
Metadata
Metadata
Assignees
Labels
No labels