sapalymahabat/Plugin/CakephpJwtAuth/config/routes.php

12 lines
251 B
PHP
Raw Normal View History

2023-02-15 15:52:41 +00:00
<?php
use Cake\Routing\Router;
Router::plugin(
'QuanKim/JwtAuth',
['path' => '/auth'],
function ($routes) {
$routes->connect('/token',['controller'=>'Users','action'=>'token']);
$routes->fallbacks('DashedRoute');
}
);