# Passwordless SMS Login Always states: "Enter the 6-digit code" -- regardless of how many digits are configured

**URL:** <https://community.auth0.com/t/passwordless-sms-login-always-states-enter-the-6-digit-code-regardless-of-how-many-digits-are-configured/137648>\
**Category:** Product Feedback\
**Tags:** passwordless-sms, bug\
**Created:** [June 27, 2024, 3:34pm UTC](https://community.auth0.com/t/passwordless-sms-login-always-states-enter-the-6-digit-code-regardless-of-how-many-digits-are-configured/137648 "2024-06-27T15:34:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpekar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mpekar/32/20872_2.png) [@mpekar](https://community.auth0.com/u/mpekar)\
**Post date:** [June 27, 2024, 3:34pm UTC](https://community.auth0.com/t/passwordless-sms-login-always-states-enter-the-6-digit-code-regardless-of-how-many-digits-are-configured/137648/1 "2024-06-27T15:34:58Z")

</div>

1. Enable SMS Passwordless Connections
2. Change the OTP Length to 4
3. The Auth0 Lock prompt will read “Enter the 6-digit code”, when it should be

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [June 27, 2024, 4:08pm UTC](https://community.auth0.com/t/passwordless-sms-login-always-states-enter-the-6-digit-code-regardless-of-how-many-digits-are-configured/137648/2 "2024-06-27T16:08:22Z")

</div>

Hi @mpekar

Welcome to the Auth0 Community!

By going to the Branding → Universal Login → Advanced Options → Custom Text you can change the prompts.

The one you want to change is in the Prompt → `phone-identifier-challange` → `placeholder`

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![mpekar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mpekar/32/20872_2.png) [@mpekar](https://community.auth0.com/u/mpekar)\
**Post date:** [June 27, 2024, 5:25pm UTC](https://community.auth0.com/t/passwordless-sms-login-always-states-enter-the-6-digit-code-regardless-of-how-many-digits-are-configured/137648/3 "2024-06-27T17:25:27Z")

</div>

That worked, thx!

I think a note on this in the SMS admin screen would be beneficial as it’s definitely something that should be changed as part of modifying the length.

Or perhaps adding the length to a variable that could be referenced the same way as ${companyName}, e.g.:

Enter the ${otpLength}-digit code

There were two other keys that I needed to modify.

---

<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:** [July 11, 2024, 5:25pm UTC](https://community.auth0.com/t/passwordless-sms-login-always-states-enter-the-6-digit-code-regardless-of-how-many-digits-are-configured/137648/4 "2024-07-11T17:25:29Z")

</div>

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