Remember me for signin.emailOtp
Loving this library but Im stuck trying to setup remember me. It seems to be in signin.email() but not signin.emailOtp().
I attempted to use a before hook middleware to make the login session but couldn't figure it out.
How should I go about setting this up?
Any help would be appreciated!
I attempted to use a before hook middleware to make the login session but couldn't figure it out.
How should I go about setting this up?
Any help would be appreciated!
Solution
Think I fixed it with this. I attempted to match how it is setup in the default email login. I believe it is just setting the cookies with the dontRememberMe option and session expiry, then everything else should be handled the same as the default login.