-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I've hit a set of issues:
- initially error "Could not reset the password as an e-mail confirmation could not be sent"
- when I edited the script to expose more detailed error messages, discovered that "people" and "userhome" global variables are not set
- commenting out these lines makes the script run, but the password isn't actually changed: people.setPassword() silently fails, which suggests script not running as admin
- in alfresco/templates/webscripts/org/sharextras/slingshot/reset-user-password.post.desc.xml, authentication is set to "runas" user "admin". But in my setup, this user's account is disabled, and alfresco-global.properties has property "alfresco_user_store.adminusername" set to another username
When I changed the "runas" in alfresco/templates/webscripts/org/sharextras/slingshot/reset-user-password.post.desc.xml to the same user as in alfresco-global.properties, then everything seems to work!
Not sure how to robustly make sure the script uses the right admin username.
Metadata
Metadata
Assignees
Labels
No labels