Hello everybody,
I don’t think I can’t do something that simple.
I created an account for another user with a reset password sent by email.
The user receives the email and changes their password.
This directs him to the log in page, and when he writes his email and password, it doesn’t work.
The error message is: “We did not find an account with those login credentials”
And yet, there are email addresses in the User database.
There is a photo of the “create an account for someone else” below.
Hi there, @thomascope… if the user receives the email and is able to reset their password, then your creation of an account for someone else appears to be working. Are you able to see the user in the User data type and have you tried using the Run as feature to see if you can run the app as that user? If that works, then it seems like the only thing left is that the user is typing their email and/or password incorrectly when they attempt to log in.
I’m guessing this isn’t it, but any chance it’s a difference between the development and live databases (that is, the user is being created in one but trying to log in to the other)?
thomascope@hotmail.com
It is the account created with the workflow “Create an account for sometone else” and I cannot connect on the app because the error message when I want to log in.
hello@bonjour.com and salut@bonjour.com
They are the account created with the sign up workfloiw and I can connect on the app when I log in.
I read your previous reply, and given that those three users are in the same database and two of them work and one of them doesn’t, it is unlikely to be a database discrepancy anyway. At this point, I’m not sure why it’s not working. I assume the password change is being confirmed as successful when the password reset is performed, right?
Indeed, the users that you see in the database and work, are the users created with th Sign up workflow.
With the workflow “Created an account for someone else” does not work.
I think it works when I reset the password because when I click confirm, the app go to the page Log in. You can see on the image below. the debugger step-by-step:
You don’t have a Reset password action in that workflow, so the password isn’t being changed… you are simply taking the user to the login page when the button is clicked. Did you make that form or are you using Bubble’s built-in reset password page?
I took the page that Bubble propose for the reset password. And below I took some screenshot on my workflow (I think after you see it, you will hate me ^^)
Should I add ?
a step for reset password
and a reset for an update Update the user’s credentials
This is what the workflow looks like on Bubble’s reset password page, so I guess you deleted the Reset password action? I don’t know why you would have done that, but that’s why it is not working.
I did it !!! and it thanks to you!
I don’t why I deleted the workflow with th reset password but you found the solution
AND
I learnt about development and live database!
So I won today and it thanks to you