Replies: 6 comments 1 reply
-
As i can see in the source code of adonisjs/auth Try to delete your node_modules and reinstall all dependencies. |
Beta Was this translation helpful? Give feedback.
-
Can you please share the complete stack trace of the error? |
Beta Was this translation helpful? Give feedback.
-
The complete error is :
|
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Also getting this error after following the example from the documentation. |
Beta Was this translation helpful? Give feedback.
-
I found the solution. In app\Models\User.ts I defined remember me token field as remember_me_token but it needs to be rememberMeToken, like so:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I use web guard for authentification, i want to use this code :
When rememberUser is false, all is good but when it's true, i have this error :
Error: The guard must called "setRememberMeToken" before calling "updateRememberMeToken" on the Lucid provider
There is my login function :
There is my version of adonis :
Some ideas ?
Beta Was this translation helpful? Give feedback.
All reactions