Latest update broke `emailAndPassword: {autoSignIn: true}`
Since the latest release,
autoSignIn: true
is broken on my side. Currently the project is setup with requireEmailVerification: true
as well. I understand that the default behavior is set to true but even explicitly setting it wont fix it.
I'm using Sveltekit.
When reverting to a previous version it's magically fixed.4 Replies
What was the expected behavior? Require email verification should negate auto sign in true, since email won't be verified at the time of sign up
Huh surprising. When I'm on the old version I get automatically logged in once I click my verification link.
Let me do some more digging. Since 'Require email verification should negate auto sign in true' , something must've been weird in the older version. Certainly some crap I did on my side.
For auto login after verification you need to enable
emailVerification.autoSignInAfterVerification
Thank you!