feat:ldap allow-group (#388)

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

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 {