Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AccountManagementService API - can't find resources used for it

20f41286955
Level 1
Level 1

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?

1 Accepted Solution
kautuk_sahni
Correct answer by
Community Manager
Community Manager
1 Reply
kautuk_sahni
Correct answer by
Community Manager
Community Manager