We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba4774e commit 9a2bf69Copy full SHA for 9a2bf69
src/install.ps1
@@ -30,7 +30,7 @@ if($null -eq $out)
30
$Password = ("a".."z")+("A".."Z") | Get-Random -Count 4
31
$Password += ("!"..".") | Get-Random -Count 2
32
$Password += ("0".."9") | Get-Random -Count 2
33
- $Password = -join($Password)
+ $Password = [Security.SecurityElement]::Escape(-join($Password))
34
35
$SecurePassword = ConvertTo-SecureString $Password -AsPlainText -Force
36
New-LocalUser $userName -Password $SecurePassword -Description "Patroni service account"
0 commit comments