From 00653e52ee078ae76872f722f056805fb75d98af Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Sun, 8 Feb 2015 01:49:51 +0200 Subject: Get username, name, surname and e-mail from LDAP server --- modules/auth/auth_form.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/auth/auth_form.go') 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"` -- cgit v1.2.3