mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-13 18:02:30 +00:00
Set password_confirmation to password when ldap is false
This commit is contained in:
parent
12415c5cf3
commit
cab9e4d993
1 changed files with 1 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ function New-User() {
|
|||
if ($ldap_user -eq $false) {
|
||||
$ldap = @{
|
||||
password = $password
|
||||
password_confirmation = $password
|
||||
ldap_import = 0
|
||||
}
|
||||
$Values += $ldap
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue