AccountManagementService API - can't find resources used for it | Community
Skip to main content
March 27, 2018
Solved

AccountManagementService API - can't find resources used for it

  • March 27, 2018
  • 1 reply
  • 766 views

I'm using AccountManagementService to handle user creation and reset password actions.

So currently I have Reset password component, wich have reset-password.html, where I have a form with new password and confirm new password inputs.

But also I have POST.html file with following:

<sly data-sly-resource="${'confirm' @ resourceType='security/accountmgr/confirm'}"/>

Currently I'm making ajax call to resource path and POST.html is triggered, so password reset action is confirmed, after that I'm redirecting user to login page if call is successful.

So I have a few questions:
1) Where can I find sources for resourceType='security/accountmgr/confirm' in jcr? How is it working?

2) It's better to configure redirection page in dialog, but as far as I have both reset-password.html and POST.html - I can't create the dialog, it's not working.

Any suggestions?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

Here is the community article on Reset the password:- AEM Developer Learning : Reset Password using AccountManagementService API in AEM 6.2 - Part2

1 reply

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
March 27, 2018
Kautuk Sahni