# Verification code enter

**URL:** <https://forum.adalo.com/t/verification-code-enter/49350>\
**Category:** Get Help\
**Created:** [August 24, 2024, 3:11pm UTC](https://forum.adalo.com/t/verification-code-enter/49350 "2024-08-24T15:11:11Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![furiousfrog](https://avatars.discourse-cdn.com/v4/letter/f/6f9a4e/32.png) [@furiousfrog](https://forum.adalo.com/u/furiousfrog)\
**Post date:** [August 24, 2024, 3:11pm UTC](https://forum.adalo.com/t/verification-code-enter/49350/1 "2024-08-24T15:11:11Z")

</div>

i am making a verification feature for users to sign up, a code will be sent to the user’s email and the user is required to enter the code  
i tried making this “verification code incorrect” text, i want it to show only when the code entered below is incorrect, however it is still showing when the code is correct, i wonder if i got the visibility setting setup correctly

 ![Screenshot 2024-08-24 230157](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/8/6/8621679802ef7b7d2331f847006a926c17649069.png)  
 ![Screenshot 2024-08-24 230232](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/f/3/f3d91277f69f337405f2c4026cf5117aada143ed.png)

---

<div class="post-metadata">

**Author:** ![anthony25](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anthony25](https://forum.adalo.com/u/anthony25)\
**Post date:** [August 24, 2024, 9:15pm UTC](https://forum.adalo.com/t/verification-code-enter/49350/2 "2024-08-24T21:15:16Z")

</div>

Hi @furiousfrog

if its stored in the users database then it should be Logged in user \> CODE is not equal to the INPUT (for the message “verification code incorrect”)

you can also just hide the button until the INPUT is equal to the CODE

---

<div class="post-metadata">

**Author:** ![furiousfrog](https://avatars.discourse-cdn.com/v4/letter/f/6f9a4e/32.png) [@furiousfrog](https://forum.adalo.com/u/furiousfrog)\
**Post date:** [August 25, 2024, 8:56am UTC](https://forum.adalo.com/t/verification-code-enter/49350/3 "2024-08-25T08:56:29Z")

</div>

thanks for your reply, but i have just encountered another issue  
the data verification code is stored separately from “users” database, it is stored in a database named “update password verification code” with relationship linkage with users database  
i have just found that users can CREATE unlimited verification codes and it will be a security issue, i wanted to make the verify button with a click action DELETE “update password verification”, but i cant find this button to execute the process above, am i doing this correctly or is there any other way i can cover this security issue?

---

<div class="post-metadata">

**Author:** ![anthony25](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anthony25](https://forum.adalo.com/u/anthony25)\
**Post date:** [August 25, 2024, 8:18pm UTC](https://forum.adalo.com/t/verification-code-enter/49350/4 "2024-08-25T20:18:12Z")

</div>

Hi @furiousfrog

This is how I set up mine:

If this email verification is for sign-up, you can create a random code (using a custom formula like `RAND(111111,999999)`) in your “create account form”. Which is the only way the user can create that code with the used email. then you link it to a new screen eg, “verify screen”.

On the “verify screen,” add an action (not on any component but on the screen itself) with a custom action, such as `https://api.brevo.com/v3/smtp/email`, to send the random code generated during sign-up.

Next, on the same screen, display a message saying, “Please check your email for the verification code,” along with an input box for users to enter the code. Then, add a button with 2 link actions for 2 modal screens (“wrong” and “correct”).

If the correct code is entered, there should be another button that updates a true/false property, marking the user as “verified.” (this set up still uses Users database) the user here cant create multiple code since once you put the email in the form again it will be recognized as already used.

the user here can actually log in. that is why in the LOG IN submit, we needed put a link action to reroute the user if user is not verified to the “verify screen”. the only parameter that is controlling the user from accessing the app is the "true/false property “user is verified”

---

<div class="post-metadata">

**Author:** ![furiousfrog](https://avatars.discourse-cdn.com/v4/letter/f/6f9a4e/32.png) [@furiousfrog](https://forum.adalo.com/u/furiousfrog)\
**Post date:** [August 27, 2024, 2:39pm UTC](https://forum.adalo.com/t/verification-code-enter/49350/5 "2024-08-27T14:39:05Z")

</div>

but how do you deal with change password, forget password in login page and delete account  
and what is the user is using another user’s email trying to sign up, does that mean the email owner cannot sign up with their own email because they cannot get into that page? and the user who used the wrong email will be stuck on the verify page?

---

<div class="post-metadata">

**Author:** ![anthony25](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anthony25](https://forum.adalo.com/u/anthony25)\
**Post date:** [August 27, 2024, 11:13pm UTC](https://forum.adalo.com/t/verification-code-enter/49350/6 "2024-08-27T23:13:52Z")

</div>

Hi @furiousfrog

Since the account owner has access to the email, they will notice if someone else has used it. To address this, you can include a link to your app in the verification email message so the account owner knows where their email is being used. They can then easily use the “Forgot Password” feature in Adalo. Adalo will send a temporary password to the email and prompt the account owner to reset their password within 24 hours. The person who doesn’t have access to the email will be stuck at the verification stage. You can customize the creation of the code and the custom action in any way/where you think is safe or secured. I found this. [How to VERIFY User EMAILS in Adalo](https://www.youtube.com/watch?v=bwrzaBnDnz4&t=1496s) this might help.

---

<div class="post-metadata">

**Author:** ![furiousfrog](https://avatars.discourse-cdn.com/v4/letter/f/6f9a4e/32.png) [@furiousfrog](https://forum.adalo.com/u/furiousfrog)\
**Post date:** [August 28, 2024, 12:54am UTC](https://forum.adalo.com/t/verification-code-enter/49350/7 "2024-08-28T00:54:05Z")

</div>

how do you make the change password and delete account verification screen?

---

<div class="post-metadata">

**Author:** ![Skuccy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/skuccy/32/31155_2.png) [@Skuccy](https://forum.adalo.com/u/Skuccy)\
**Post date:** [August 28, 2024, 6:24am UTC](https://forum.adalo.com/t/verification-code-enter/49350/8 "2024-08-28T06:24:14Z")

</div>

The change password screen is not editable. It is auto included in your app. Go to your signup page and hit forgot password, you’ll be directed to adalos auto signup page which I believe the only design on it is whatever your design colors are.

Delete profile page, make it however you want. Just use a button that deletes the user. I’d recommend a modal after they click delete button to include something like “are you sure? Deleting your account will delete all user data. This can not be undone”. Cheers!

---

<div class="post-metadata">

**Author:** ![furiousfrog](https://avatars.discourse-cdn.com/v4/letter/f/6f9a4e/32.png) [@furiousfrog](https://forum.adalo.com/u/furiousfrog)\
**Post date:** [August 30, 2024, 10:02am UTC](https://forum.adalo.com/t/verification-code-enter/49350/9 "2024-08-30T10:02:06Z")

</div>

how do i edit forget password screen? like changing the colors and word sizes?

---

<div class="post-metadata">

**Author:** ![Skuccy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/skuccy/32/31155_2.png) [@Skuccy](https://forum.adalo.com/u/Skuccy)\
**Post date:** [August 30, 2024, 6:59pm UTC](https://forum.adalo.com/t/verification-code-enter/49350/10 "2024-08-30T18:59:10Z")

</div>

I believe you can only do that by changing your apps “design”. But it would change anything in your app that is still your “default” colors. You can not independently edit that screen.

---

<div class="post-metadata">

**Author:** ![furiousfrog](https://avatars.discourse-cdn.com/v4/letter/f/6f9a4e/32.png) [@furiousfrog](https://forum.adalo.com/u/furiousfrog)\
**Post date:** [August 31, 2024, 8:38am UTC](https://forum.adalo.com/t/verification-code-enter/49350/11 "2024-08-31T08:38:30Z")

</div>

it’s called “branding” colors right?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [September 10, 2024, 8:39am UTC](https://forum.adalo.com/t/verification-code-enter/49350/12 "2024-09-10T08:39:18Z")

</div>

Closed on September 10, 2024, 8:39am UTC

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