mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-01-14 19:32:29 +00:00
feat: retrieve and store groups from ldap provider
This commit is contained in:
@@ -122,6 +122,11 @@ type User struct {
|
||||
TotpSecret string
|
||||
}
|
||||
|
||||
type LdapUser struct {
|
||||
DN string
|
||||
Groups []string
|
||||
}
|
||||
|
||||
type UserSearch struct {
|
||||
Username string
|
||||
Type string // local, ldap or unknown
|
||||
|
||||
Reference in New Issue
Block a user