Broken forgot password flow in Lightning communities if the standard forgotPassword Lightning component is used
Last updated 2020-03-03 ·Reference W-6339481 ·Reported By 1 users
In organizations that enabled Communities before Summer '20, the forgot password flow breaks in Lightning communities that use a custom forgot password page if the standard forgotPassword Lightning component is leveraged. This component gets automatically created upon enabling Communities but a spelling error present in organizations that enabled Communities before Summer '20 requires user action. This doesn't impact the standard forgot password page (/login/ForgotPassword).
1) In an organization where Communities has been enabled before Summer '20, ensure the community's custom forgot password page uses the standard forgotPassword Lightning component
2) Perform the forgot password flow.
Actual result: End user will stay on the forgot password page itself. No errors will be displayed in Chrome's console, or on forgot password page UI in the community. "Unable to find action 'forgotPassowrd' on the controller of c:forgotPassword" error will be seen in Network logs.
1) Open the Developer Console
2) Open forgotPasswordHelper.js.
3) Change line 9:
var action = component.get("c.forgotPassowrd");
4) It should read like so:
var action = component.get("c.forgotPassword");
Reported By (1)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.