Skip to content

Commit 721b52d

Browse files
committed
Create user: Use key "email" instead of "public_email".
#21 #27 (comment)
1 parent 6197ae7 commit 721b52d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LdapSyncCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ private function deployGitlabUsersAndGroups(array $config, string $gitlabInstanc
12101210
"name" => $ldapUserDetails["fullName"],
12111211
"extern_uid" => $ldapUserDetails["dn"],
12121212
"provider" => $gitlabConfig["ldapServerName"],
1213-
"public_email" => $ldapUserDetails["email"],
1213+
"email" => $ldapUserDetails["email"],
12141214
"admin" => $ldapUserDetails["isAdmin"],
12151215
"can_create_group" => $ldapUserDetails["isAdmin"],
12161216
"skip_confirmation" => true,

0 commit comments

Comments
 (0)