Fix further typos
This commit is contained in:
parent
eadbde8e2e
commit
55d6d92b0b
1 changed files with 2 additions and 2 deletions
|
@ -185,8 +185,8 @@ class Context {
|
|||
Set-ItemProperty $path -Name "AutoAdminLogon" 1;
|
||||
Set-ItemProperty $path -Name "DefaultUserName" $user;
|
||||
|
||||
if ($password) {
|
||||
Set-ItemProperty $path -Name "DefaultPassword" $password;
|
||||
if ($pw) {
|
||||
Set-ItemProperty $path -Name "DefaultPassword" $pw;
|
||||
} else {
|
||||
Remove-ItemProperty $path -Name "DefaultPassword";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue