switched to token based authentication
This commit is contained in:
@@ -26,7 +26,7 @@ Route.group(() => {
|
||||
.prefix('api/v1')
|
||||
|
||||
Route.group(() => {
|
||||
Route.get('logout', 'AuthController.logout').as('logout')
|
||||
Route.post('logout', 'AuthController.logout').as('logout')
|
||||
|
||||
Route.resource('employees', 'EmployeesController').apiOnly()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user