mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 12:14:33 +01:00
Working on form
This commit is contained in:
@@ -30,7 +30,7 @@ export default class AuthController {
|
||||
const password = request.input('password')
|
||||
|
||||
const token = await auth.use('api').attempt(email, password, {
|
||||
expiresIn: '10 days'
|
||||
expiresIn: '2 days'
|
||||
})
|
||||
return token.toJSON()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user