[Fix] Fixed writing privilege user element's PasswordChangeRequested field

This commit is contained in:
Robert von Burg 2023-03-14 09:32:57 +01:00
parent 9334136c25
commit 37ca45d790
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ public class PrivilegeUsersDomWriter {
// add password change requested element
if (user.isPasswordChangeRequested()) {
Element passwordChangeRequestedElement = doc.createElement(XmlConstants.XML_PASSWORD_CHANGE_REQUESTED);
localeElement.setTextContent(Boolean.toString(true));
passwordChangeRequestedElement.setTextContent(Boolean.toString(true));
userElement.appendChild(passwordChangeRequestedElement);
}