aboutsummaryrefslogtreecommitdiff
path: root/modules/auth/auth_form.go
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2015-02-08 01:49:51 +0200
committerLauris BH <lauris@nix.lv>2015-02-08 01:49:51 +0200
commit00653e52ee078ae76872f722f056805fb75d98af (patch)
tree0d41957f773ff9f2e0da9904627ee0e6961f7abb /modules/auth/auth_form.go
parentba77a3b0b4bfcc418301c5069d9dd57d05ea23c3 (diff)
Get username, name, surname and e-mail from LDAP server
Diffstat (limited to 'modules/auth/auth_form.go')
-rw-r--r--modules/auth/auth_form.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/auth/auth_form.go b/modules/auth/auth_form.go
index e9789634..c7b93896 100644
--- a/modules/auth/auth_form.go
+++ b/modules/auth/auth_form.go
@@ -18,7 +18,10 @@ type AuthenticationForm struct {
Port int `form:"port"`
UseSSL bool `form:"usessl"`
BaseDN string `form:"base_dn"`
- Attributes string `form:"attributes"`
+ AttributeUsername string `form:"attribute_username"`
+ AttributeName string `form:"attribute_name"`
+ AttributeSurname string `form:"attribute_surname"`
+ AttributeMail string `form:"attribute_mail"`
Filter string `form:"filter"`
MsAdSA string `form:"ms_ad_sa"`
IsActived bool `form:"is_actived"`