Merge pull request #1774 from cchurch/fix_win_user_1241

Fix win_user error from #1241
This commit is contained in:
Chris Church 2015-07-22 03:16:54 -04:00
commit 3f240a939f

View file

@ -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')) {