@@ -3,7 +3,7 @@ |
||
| 3 | 3 | use Security\Middleware\GuestMiddleware; |
| 4 | 4 | use Security\Middleware\AuthMiddleware; |
| 5 | 5 | |
| 6 | -$app->group('', function () { |
|
| 6 | +$app->group('', function() { |
|
| 7 | 7 | $this->map(['GET', 'POST'], '/login', 'auth.controller:login')->setName('login'); |
| 8 | 8 | $this->map(['GET', 'POST'], '/register', 'auth.controller:register')->setName('register'); |
| 9 | 9 | })->add(new GuestMiddleware($container)); |