fix for update AAD user password (#1124)
Co-authored-by: Florin Stancu <fstancu@adobe.com>
This commit is contained in:
Родитель
b4f7c74cd4
Коммит
181ffe21a7
|
@ -101,6 +101,7 @@ class ActiveDirectoryUserImpl
|
|||
@Override
|
||||
public ActiveDirectoryUserImpl withPassword(String password) {
|
||||
createParameters.withPasswordProfile(new PasswordProfile().withPassword(password));
|
||||
updateParameters.withPasswordProfile(new PasswordProfile().withPassword(password));
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@ -163,6 +164,7 @@ class ActiveDirectoryUserImpl
|
|||
@Override
|
||||
public ActiveDirectoryUserImpl withPromptToChangePasswordOnLogin(boolean promptToChangePasswordOnLogin) {
|
||||
createParameters.passwordProfile().withForceChangePasswordNextLogin(promptToChangePasswordOnLogin);
|
||||
updateParameters.passwordProfile().withForceChangePasswordNextLogin(promptToChangePasswordOnLogin);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче