Skip to content

Commit f02c610

Browse files
committed
don't print password when user creation failed in src/install.ps1, fixes #11
1 parent a4f9449 commit f02c610

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/install.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ $SecurePassword = ConvertTo-SecureString $Password -AsPlainText -Force
1919
New-LocalUser "pes" -Password $SecurePassword -Description "Patroni service account"
2020
$ConfFile = 'patroni\patroni_service.xml'
2121
(Get-Content $ConfFile) -replace '12345', $Password | Out-File -encoding ASCII $ConfFile
22-
Write-Host "User password: $Password"
2322
Write-Host "--- Patroni user added ---`n" -ForegroundColor green
2423

2524
Write-Host "--- Installation sucessfully finished ---" -ForegroundColor green

0 commit comments

Comments
 (0)