Files
This commit is contained in:
10
resources/routes/02_auth.php
Normal file
10
resources/routes/02_auth.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
use Incoviba\UI\Common\Controller\Auth;
|
||||
|
||||
$app->group('/auth', function($app) {
|
||||
$app->group('/login', function ($app) {
|
||||
$app->get('[/]', [Auth::class, 'login']);
|
||||
$app->post('[/]', [Auth::class, 'doLogin']);
|
||||
});
|
||||
$app->get('/logout', [Auth::class, 'logout']);
|
||||
});
|
Reference in New Issue
Block a user