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