# How to prevent user-password when user is already registered via passwordless

**URL:** <https://community.auth0.com/t/how-to-prevent-user-password-when-user-is-already-registered-via-passwordless/101471>\
**Category:** Get Help\
**Tags:** identifier-first, login-experience\
**Created:** [February 28, 2023, 2:25pm UTC](https://community.auth0.com/t/how-to-prevent-user-password-when-user-is-already-registered-via-passwordless/101471 "2023-02-28T14:25:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![james.merrigan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.merrigan/32/44373_2.png) [@james.merrigan](https://community.auth0.com/u/james.merrigan)\
**Post date:** [March 3, 2023, 9:37am UTC](https://community.auth0.com/t/how-to-prevent-user-password-when-user-is-already-registered-via-passwordless/101471/3 "2023-03-03T09:37:55Z")

</div>

Hi @bencip19 👋

Welcome to the Community!

You can leverage the [Management API within Auth0 Pre-Registration Action](https://community.auth0.com/t/how-can-i-use-the-management-api-in-actions/64947) to check if the user with the same email already exists in another connection, and if so, block the user from registering.

I would recommend reading over [this post](https://community.auth0.com/t/how-to-disallow-a-user-to-with-a-same-email-access-another-mode-of-authentication/97030/2) that details how you can do this, along with some sample code to point you in the right direction.

I hope this helps. Let me know how you get on!

---

_[View the full topic](https://community.auth0.com/t/how-to-prevent-user-password-when-user-is-already-registered-via-passwordless/101471)._
