Email confirmation before login only works one day

Check the email confirmation for new users before they are able to login and it works well on the first day.

But if I try to login with the same user on the next day the email confirmation check returns “no” and the user cannot login.

Did I miss something or is something wrong im my setup:

Hey @tools18 :waving_hand:

You never want to have that condition anywhere on the front end. That would mean you would need to expose those fields publicly for it to work. Also, an email only needs to be confirmed once. Maybe you are wanting to do a magic link instead? So they have to login with a click in their email for security?

Hope that helps. :blush:

Thanks.
What would be a better and more secure solution to login users only after confirming their email?

Magic Link would be more secure. :blush:

Thanks, will try the Magic Link

1 Like