Merge pull request #1774 from cchurch/fix_win_user_1241
Fix win_user error from #1241
This commit is contained in:
commit
3f240a939f
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ If ($state -eq 'present') {
|
|||
If ($password -ne $null) {
|
||||
$user_obj.SetPassword($password)
|
||||
}
|
||||
$user_obj.SetInfo()
|
||||
$result.changed = $true
|
||||
}
|
||||
ElseIf (($password -ne $null) -and ($update_password -eq 'always')) {
|
||||
|
|
Loading…
Reference in a new issue