Prevent signin on signup

Hello,

When a user signup, it automatically authenticates him by executing the login script.

Is it possible to prevent that ? I would like to prevent login as long as the user does not validate his email.

Thanks a lot

Hey @walim.masmoudi !

The easiest way to go about this is to use an Action to block logins without a verified email:

Thank you for your response.

It it possible to do it with a custom database ? Because i need to call an api endpoint to know if the user has verified his email.

Hey there @walim.masmoudi, sorry for the delayed response here!

You can certainly call an external endpoint from within action code:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.