cancel
Showing results for 
Search instead for 
Did you mean: 

How to send a secured link (i.e. starts with https://) in the forgot password email?

Former Member
0 Kudos
 

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ipsita,

As an example you can take a look at getSecureRequestResetPasswordUrl() method provided in de.hybris.platform.yacceleratorfacades.process.email.context.ForgottenPasswordEmailContext. Basically, it calls

 de.hybris.platform.acceleratorservices.urlresolver.SiteBaseUrlResolutionService.getWebsiteUrlForSite(BaseSiteModel site, String encodingAttributes, boolean secure, String path)

with secure set to true.