Concept Question: Jetstream let users loose their accounts.
Hi. I just think a bit about jetstream and how to solve a problem in my projects... I know, maybe this will never happen, but it could.
User register.
He click on double opt in mail to verify account.
He goes to profile and change his email (maybe sometime in the future,... after 2, 3, ... years)
Do had an spelling error and dont get the email, but is not logged in anymore.
Then he never will login again, because he cant remember what he typed in. And he cant change the mail again. My question is, is there already something from laravel, because most of the times there are already solutions... or maybe Im wrong and there is no problem?
Maybe somebody thought about this in the past and can give me a tip or share his ideas for this. I would say I had to have a second table field and till the new email is verified, the old one is still active...?
you can create a solution in code for the rare chance of this happening, or you can manually handle it through a support request.
Code wise you would need to create a pending email change where the user id and the new email address are stored in a separate table until they verify the new address and then you update the user record
I will start the project without an extra change of code... It will maybe never happen... but if the product will grow, I will do a package for this. I thought maybe there is already a solution that comes with laravel. Most of the time there is a solution :) Thx @snapey