# My app is making me enter login details twice

**URL:** https://forum.adalo.com/t/my-app-is-making-me-enter-login-details-twice/22237
**Category:** Get Help
**Created:** [January 19, 2022, 9:33am UTC](https://forum.adalo.com/t/my-app-is-making-me-enter-login-details-twice/22237 "2022-01-19T09:33:41Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![jpotts](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jpotts](https://forum.adalo.com/u/jpotts)
#### Post date: [January 19, 2022, 9:33am UTC](https://forum.adalo.com/t/my-app-is-making-me-enter-login-details-twice/22237/1 "2022-01-19T09:33:41Z")

</div>

I’m doing various testing by logging into different user accounts which have different roles to make sure permissions are working and a lot of times (not always), I enter the login details, click login and it just wipes the email and password field (no incorrect details message). Once I enter the login details again it logs in fine.

Has anyone ever experienced this?

---

<div class="post-metadata">

### Author: ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)
#### Post date: [January 19, 2022, 2:14pm UTC](https://forum.adalo.com/t/my-app-is-making-me-enter-login-details-twice/22237/2 "2022-01-19T14:14:10Z")

</div>

Hi @jpotts,

Could you please show the actions which are connected to your “Login” button?

Best regards, Victor.

---

<div class="post-metadata">

### Author: ![jpotts](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jpotts](https://forum.adalo.com/u/jpotts)
#### Post date: [January 19, 2022, 2:42pm UTC](https://forum.adalo.com/t/my-app-is-making-me-enter-login-details-twice/22237/3 "2022-01-19T14:42:37Z")

</div>

Hi @Victor,

 ![Screenshot 2022-01-19 at 14.28.18](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/8/846de95f32e8df2b010fd18162f77412a76535e4.png)

So for context I have a ‘Create new user’ form setup so that certain users can add new users (didn’t use a regular form as this was then logging the user who added the new user in as that new user), this form auto sets the user’s password to “temppassword” - I also have a True/False record for each user “Has temp password” where True is set each time a new user is added via this ^ method.

Screenshot

1. Log In
2. Link Login Logic - this is a page setup which directs the user to a page based on their Role only IF the user’s “Has temp password” record is FALSE
3. Link Set My Password - This links the user to a modal screen to force them to update their password and is set to only link to the page IF the user’s “Has temp password” record is TRUE. After setting a new password, their “Has temp password” record sets to FALSE.

Let me know if you need any more info 🙂

---

<div class="post-metadata">

### Author: ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)
#### Post date: [January 19, 2022, 2:56pm UTC](https://forum.adalo.com/t/my-app-is-making-me-enter-login-details-twice/22237/4 "2022-01-19T14:56:07Z")

</div>

Hi @jpotts,

Due to Adalo internal limitations, conditional actions do not work well after login. You can search the forum - there were several posts about that. For example, this one [Initiate forgot password email and process manually - #6 by paulh](https://forum.adalo.com/t/initiate-forgot-password-email-and-process-manually/19743/6) or the original one which is dated summer’20 - see here [Problem restricting users without access code](https://forum.adalo.com/t/problem-restricting-users-without-access-code/2883).

So most probably you’re facing this issue.

I’d advise to set up a separate “routing” screen and put users’ “redirections” there. You can use the principle similar to the one in this tutorial: [Tutorials: users and admin access to different screens](https://forum.adalo.com/t/tutorials-users-and-admin-access-to-different-screens/4528)

Hope this helps.

Best regards, Victor.

---

<div class="post-metadata">

### Author: ![paulh](https://avatars.discourse-cdn.com/v4/letter/p/e495f1/32.png) [@paulh](https://forum.adalo.com/u/paulh)
#### Post date: [January 19, 2022, 3:11pm UTC](https://forum.adalo.com/t/my-app-is-making-me-enter-login-details-twice/22237/5 "2022-01-19T15:11:19Z")

</div>

As Victor said, it seems you need to create an interim screen rather than put the logic in on login and put the conditionals on that. Here’s how mine looks.

 ![Screenshot 2022-01-19 100830](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/1/1c782deda708ccffe768fad58b1e513e582b3db6.png)

Also, make sure you have your user collection permissions set to everyone if you’re allowing another user to add a new user, this also caused issues until I changed the email and password (and any other settings updated by another user) to everyone.

---

<div class="post-metadata">

### Author: ![Toddy](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@Toddy](https://forum.adalo.com/u/Toddy)
#### Post date: [January 19, 2022, 3:19pm UTC](https://forum.adalo.com/t/my-app-is-making-me-enter-login-details-twice/22237/6 "2022-01-19T15:19:05Z")

</div>

I have experienced this when building a marketplace…2 user types

I followed a tutorial from Adalo, and I had that login problem. — guess it hasn’t been fixed.  
Luckily, it isn’t hard to fix.

USE the 3rd or 4th method:

[![](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/8/4/8407945db26ac9e9404f728dc1d5353bdfaa1a39.jpeg "#TwoMinuteTuesday | Multi sided Apps") ](https://www.youtube.com/watch?v=tydJavoHFCM)

---

<div class="post-metadata">

### Author: ![jpotts](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@jpotts](https://forum.adalo.com/u/jpotts)
#### Post date: [January 20, 2022, 2:15pm UTC](https://forum.adalo.com/t/my-app-is-making-me-enter-login-details-twice/22237/7 "2022-01-20T14:15:50Z")

</div>

Thanks you all very much, adding my logic onto a separate page has resolved the problem.

---

<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: [January 30, 2022, 2:16pm UTC](https://forum.adalo.com/t/my-app-is-making-me-enter-login-details-twice/22237/8 "2022-01-30T14:16:25Z")

</div>

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