I’ve designed the App so that a User must have his email confirmed before being able to log in. So I have configured two separate login workflows, one with the condition that the User’s email confirmed is “yes”, and the other when the User’s email confirmed is “no”.
However, when I try to login with “simon.wong@fundkernel.com”, the App keeps redirecting me to the Email Not Confirmed page, which should only happen if the User’s email_confirmed is “no”.
I’ve tried to following to troubleshoot this problem:
Clean out the browser cookies
Delete the workflow and re-do it
Manually change and saving the the User’s email_confirmed status
But none of it works.
The Editor didn’t highlight to me any issue with the page. So now I’m at a loss.
Again, check out the link to video screen shot above to see the full flow, but I’m wondering if anyone else had such an issue in the past.
Disable both workflows to a test…
Try to create a text field to display Current Users’ email_confirmed status in the index and see it’s value after the login…
I’ve contacted Bubble support for this and they don’t seem to know what’s going on either.
What is even weirder now is that I tried deleting one of the users and re-registered it. And I uncovered that even the Email Confirmation is not working.
What catch my attention regarding this last video (and I may be wrong) is that Bubble’s native e-mail confirmation system changes the “email confirmed” field. It is a native field that we can’t see or change.
In your database, you have a column named “email_confirmed”, what means that you are creating another confirmation email system (am I right?). Note that in your database there is an underline between the words.
That is why is important to see what is going on in this “email confirmation page”.
Unfortunately, in this case the debugger won’t help because when I click on the email confirmation link on the email, the debugger doesn’t open. I am guessing because I am opening the app from a link on an external application (Gmail).
Thank you for your suggestion of using the Debugger.
Hi Ranne,
I’ve found something really interesting about the email confirmed login problem.
I ran the Debugger set it to Step-by-Step and found something really interesting…
Apparently, there seems to be something “broken” in the search command “:first item” in which it didn’t return the desired result, which caused the search result to be incorrect.
that’s exactly the reason why it’s not properly working, please check the email in the everyone else section or just check the view all fields and find in the searches item
Hi, for my part the confirmation works, I put a field in my header which stipulates if the mail user is confirmed and indeed after registration without logging out, I clicked on the confirmation link in my mailbox and the status has changed to “confirmed” but after disconnecting then reconnecting it no longer works, the debugger indicates that the status of the email is unconfirmed when trying to connect…