Add infinite token

This commit is contained in:
2021-04-17 14:23:15 +02:00
parent 430d7a18ae
commit 7b546c5b52
2 changed files with 8 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ Route.group(() => {
Route.group(() => {
Route.get('/me', 'AuthController.user').middleware('auth')
Route.get('/token', 'AuthController.createInfiniteToken')
Route.post('/web/login', 'AuthController.loginWeb')
Route.post('/web/logout', 'AuthController.logoutWeb')