diff options
author | aboron <aboron@users.noreply.github.com> | 2017-05-29 22:33:50 -0400 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2017-05-29 22:33:50 -0400 |
commit | dbb7e5464b6a9cad430b2f36b52e7674211f51cf (patch) | |
tree | 8f201849432a65d3a58e04ef2c92b7eedfbf7a24 /pkg/form/auth.go | |
parent | 11ad64f6cbdc489a49247604fe697dffaa090ac2 (diff) |
ldap: add check for group membership (#4398)
* Add standard LDAP group membership checking.
* Fix formatting, typo, grammer, and syntax errors
* Debugging done.
Gave up on locale file edits.
Diffstat (limited to 'pkg/form/auth.go')
-rw-r--r-- | pkg/form/auth.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/form/auth.go b/pkg/form/auth.go index 10dccd00..e045a2df 100644 --- a/pkg/form/auth.go +++ b/pkg/form/auth.go @@ -26,6 +26,11 @@ type Authentication struct { AttributesInBind bool Filter string AdminFilter string + GroupsEnabled bool + GroupDN string + GroupFilter string + GroupMemberUid string + UserUID string IsActive bool SMTPAuth string SMTPHost string |