feat:ldap allow-group (#388)

This commit is contained in:
nomoneynolife authored and GitHub committed 2025-09-05 12:53:45 +08:00
1 parent ce0291a8f9
commit 6e3b16d425
3 files changed
+53 -1

No files matched your search

+1
View File
@@ -11,6 +11,7 @@ type LdapUser struct {
LastName string `mapstructure:"last-name"`
Sync bool `mapstructure:"sync"` // Will sync the user's information to the internal database
AdminGroup string `mapstructure:"admin-group"` // Which group is the admin group
AllowGroup string `mapstructure:"allow-group"` // Which group is allowed to login
}
// type LdapGroup struct {