Skip to content

Commit 742f691

Browse files
committed
Reset Password dialogue passes username string value to people.isAccountEnabled() method, as seems to be required in 3.4.d.
git-svn-id: https://share-extras.googlecode.com/svn/trunk/Reset Password Dialog@513 a3f5c567-fd0f-3a89-9b71-a290c5a5f590
1 parent 4164315 commit 742f691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/alfresco/templates/webscripts/org/sharextras/slingshot/reset-user-password.post.json.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function main()
129129

130130
user = search.findNode(users[0]);
131131

132-
if (!people.isAccountEnabled(user))
132+
if (!people.isAccountEnabled(user.properties.userName))
133133
{
134134
status.setCode(status.STATUS_FORBIDDEN, msg.get("error.disabled"));
135135
status.redirect = true;

0 commit comments

Comments
 (0)