We are building a feature to let our customers (Person) resend a mail to their registered mail.
In the mail there should be a link/url containing a guid and when the user clicks the link they should land on a page that lets them set a new password.
I’m pretty new to how Litium works and cannot find any good documentation or topics on this subject.
My thoughts how to solve this are
-
If possible Extend existing feature in Litium to store a guid and a flag (boolean) in the PasswordLoginInfo db table? So when when the users reach the page we have logic that tells if the users guid from the url is valid and link it to the user we want to change the password for.
-
If alternative 1 dont work, I create a new EF entity and map it to a separate table. Then create logic that checks if the guid is valid and set the new password for an existing customer linked to the guid entity stored in a separate db table.
If you guys have any recommendations to solve this , i’m more then happy to hear your ideas. What is best practice, how do you normally store data that somehow extends existing objects/features in Litium core.
Litium version: 7.4.2