|
|
@ -16,7 +16,7 @@ $router->get('/{transaction}/redirection', 'CreditController@redirection'); |
|
|
|
$router->group(['prefix' => 'auth'], function () use ($router) { |
|
|
|
$router->get('/', 'AuthController@auth')->middleware('auth:api'); |
|
|
|
$router->delete('/', 'AuthController@delete'); |
|
|
|
$router->get('/info', 'AuthController@authWithInfo'); |
|
|
|
$router->get('/info', 'AuthController@authWithInfo')->middleware('auth:api'); |
|
|
|
$router->post('login', 'AuthController@login'); |
|
|
|
$router->post('logout', 'AuthController@logout')->middleware('auth:api'); |
|
|
|
$router->post('register', 'AuthController@register'); |
|
|
|