User model - fix LDAP gidNumber
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Garrett Mills 2021-03-10 23:16:04 -06:00
parent 0ee36dc429
commit 8b8c2e076f
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -213,7 +213,7 @@ class User extends AuthUser {
objectGuid: this.uuid, objectGuid: this.uuid,
objectguid: this.uuid, objectguid: this.uuid,
uidNumber: uid_number, uidNumber: uid_number,
gidNumber: group_ids.map(x => String(x)), gidNumber: await this.get_uid_number(), // group_ids.map(x => String(x)),
loginShell: shell, loginShell: shell,
homeDirectory: `/home/${this.uid}@${domain}` homeDirectory: `/home/${this.uid}@${domain}`
} }