forked from forgejo/forgejo
ldap support
This commit is contained in:
parent
8bab21d795
commit
79ea34e70e
11 changed files with 287 additions and 15 deletions
13
modules/auth/authentication.go
Normal file
13
modules/auth/authentication.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package auth
|
||||
|
||||
type AuthenticationForm struct {
|
||||
Type int `form:"type"`
|
||||
Name string `form:"name" binding:"MaxSize(50)"`
|
||||
Domain string `form:"domain"`
|
||||
Host string `form:"host"`
|
||||
Port int `form:"port"`
|
||||
BaseDN string `form:"base_dn"`
|
||||
Attributes string `form:"attributes"`
|
||||
Filter string `form:"filter"`
|
||||
MsAdSA string `form:"ms_ad_sa"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue