Commit c8dc5b7c authored by 's avatar

- doesn't make a difference here, but the right API method for getting the...

- doesn't make a difference here, but the right API method for getting the user ID is getId, not getUserName
parent a19306bd
......@@ -122,7 +122,7 @@ class BasicUserFolder(Navigation, Tabs, Item, RoleManager,
pw = u._getPassword()
if not self._isPasswordEncrypted(pw):
pw = self._encryptPassword(pw)
self._doChangeUser(u.getUserName(), pw, u.getRoles(),
self._doChangeUser(u.getId(), pw, u.getRoles(),
u.getDomains())
changed = changed + 1
if REQUEST is not None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment