# Auth0LockPasswordless \`allowSignUp: false\` option does not work

**URL:** <https://community.auth0.com/t/auth0lockpasswordless-allowsignup-false-option-does-not-work/77724>\
**Category:** Get Help\
**Tags:** passwordless\
**Created:** [February 4, 2022, 9:53pm UTC](https://community.auth0.com/t/auth0lockpasswordless-allowsignup-false-option-does-not-work/77724 "2022-02-04T21:53:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarianoV](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marianov/32/33316_2.png) [@MarianoV](https://community.auth0.com/u/MarianoV)\
**Post date:** [February 4, 2022, 9:53pm UTC](https://community.auth0.com/t/auth0lockpasswordless-allowsignup-false-option-does-not-work/77724/1 "2022-02-04T21:53:11Z")

</div>

Hi,  
I’m creating a custom login with Lock. ( [https://cdn.auth0.com/js/lock/11.32/lock.min.js](https://cdn.auth0.com/js/lock/11.32/lock.min.js)). I’m using `Auth0LockPasswordless`.  
I’m trying to separate login and signup with passwordless, as explained here: [Separate Passwordless Login and Signup](https://community.auth0.com/t/separate-passwordless-login-and-signup/63291).

So I’m doing a ternary selection on the option `allowSignUp`. When I try to signup passwordless with the option `allowSignUp:false`, a new user can register, when It shouldn’t.

Also on `Auth0LockPasswordless` the option `additionalSignUpFields` does not work:  
Check the following example:  
` additionalSignUpFields: [{ type: "checkbox", name: "newsletter", prefill: "true", placeholder: "I hereby agree that I want to receive marketing emails from your company" }, { type: "checkbox", name: "terms", prefill: "true", placeholder: "I agree terms and conditions" }]`

Thanks,  
Mariano Vicario

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [February 8, 2022, 12:17am UTC](https://community.auth0.com/t/auth0lockpasswordless-allowsignup-false-option-does-not-work/77724/3 "2022-02-08T00:17:22Z")

</div>

Hi @MarianoV,

Welcome to the Auth0 Community!

> [@MarianoV](#):
>
> So I’m doing a ternary selection on the option `allowSignUp` . When I try to signup passwordless with the option `allowSignUp:false` , a new user can register, when It shouldn’t.

First, to disable sign-ups, you need to navigate to your Passwordless Type (SMS or Email) and scroll to the bottom of the settings page and enable the **Disable Sign Ups** toggle.

Once that is complete, your Universal Login page will not allow users to sign up using Passwordless.

If you decide to allow sign-ups, I recommend following [this related FAQ Topic](https://community.auth0.com/t/how-do-i-redirect-users-directly-to-the-hosted-signup-page/42520) to accomplish this behavior.

Lastly, the behavior you observed using Passwordless with [_additionalSignUpFields_](https://auth0.com/docs/libraries/lock/lock-configuration#additionalsignupfields-array-) is expected. The _additionalSignUpFields_ is not allowed with Passwordless and can only be used with database signups (`Auth0Lock`). See below.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/6/f/6f2956ba1ec4804c4c7b2241cb1bb806da6a8cd8.png)

Please let me know if you have any further questions.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 23, 2022, 12:17am UTC](https://community.auth0.com/t/auth0lockpasswordless-allowsignup-false-option-does-not-work/77724/4 "2022-02-23T00:17:49Z")

</div>

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