LDAP - properly cast gidNumber to string
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Garrett Mills 2021-03-10 19:21:41 -06:00
parent 82e25ccef0
commit 2d31eaa148
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -42,7 +42,7 @@ class GroupModel extends Model {
if ( this.posix_group_id ) { if ( this.posix_group_id ) {
data.objectClass.push('posixGroup') data.objectClass.push('posixGroup')
data.gidNumber = this.posix_group_id data.gidNumber = String(this.posix_group_id)
} }
return data return data