Hi dear Bubble community,
I am facing two issues with my app that look quite the same. I’ll explain oth of them.
Issue 1 : Building a “reset password” page displaying whether or not the email address already exists in the system
Basically my workflow looks quite simple : if the currently logged off user uses an email address which exist already in the system, I’m sending a “reset password” email and displaying a message “a link has been sent”. On the contrary, if the currently logged off user is trying to reset the password of an email address which is not in the system, I tell him “there’s no account associated with this email address, you can create an account here”.
Here are my workflows :
That is the workflow “OK, there’s a user with this email address, send an email and show green popup”
That’s the workflow “Oops, there’s no user with this email address, create an account here, and show red popup”
My issue here is that the app always displays the red popup and follow the second workflow, though I know for sure that there is an existing user with the email address I put in my input box.
I don’t know if this is linked to privacy rules but I can’t find the solution so far.
Second situation : Allowing people to create an account if there email address matches with an existing thing’s email address
People can process payments and place orders on my app without an account. I am then sending them an email “if you want to access all of your receipts for ever and ever, create an account”.
When they come back to the app to create an account, I want the email address they write in the input to match with the email address of their previous orders, otherwise anybody could just click on their personal link, and create an account with a different email address.
Same story, I have two workflows checking if the email address of the input matchs or not with the thing’s email address, and again I am stuck with the second workflow.
First workflow (when we find a matching thing, workflow which doesn’t work)
Second workflow (when we do not find a matching thing)
Thank you in advance for your help, if you need more information, let me know.
Pauline