Auth.remember is not a function


I have try a code

let token = await auth.remember(true).attempt(username, password)

But return error

auth.withRefreshToken(…).remember is not a function


How can you remember the login of someone when using JWT token?

You first clear the concept of how JWT works


Ok, I found this is my mistake. So sorry about this.