forgot password issue

0
Sometimes the ForgotPasswordURL ({%ResetURL%}) in the email for the forgot password is returning me just the url of my website, for example I receive this : https://mywebsite.com instead of this :  https://mywebsite.com/link/ForgotPassword?GUID=...   This is strange because I don’t have that error everytimes, sometimes it is working as intended.   Thanks
asked
2 answers
1

Could you shed some light how the ResetURL is build up? You probably use a microflow where you do some string manipulation and store the result in ResetURL. Try to figure out why this URL can sometimes be only the base URL. Empty objects may be?

Regards,

Ronald

 

answered
0

I am using the microflow of the forgot password module : SF_CheckAccount, and if it’s succesfull i send the mail.

the SF_CheckAccount microflow do the following : 

retrieve the account of the database corresponding to the mail entered. if the account is found, generate UUID (java action), generateURL(java action), and change the forgotPassword entity (the attribute forgotpasswordURL take the variable url returned by the generateURL java action).

answered