aboutsummaryrefslogtreecommitdiff
path: root/modules/auth/authentication.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-05-05 16:40:25 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-05-05 16:40:25 +0800
commit1652dd5068f2f3ae1851bc2321832c88af85d570 (patch)
treed8bee76f5c1016c7ee432334fe02390387b9a8e9 /modules/auth/authentication.go
parent79ea34e70ebe989f1a5f8fbd71cfe3109c6f8a58 (diff)
basic authentications
Diffstat (limited to 'modules/auth/authentication.go')
-rw-r--r--modules/auth/authentication.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/auth/authentication.go b/modules/auth/authentication.go
index 5c179f0f..d9c61b9d 100644
--- a/modules/auth/authentication.go
+++ b/modules/auth/authentication.go
@@ -1,6 +1,7 @@
package auth
type AuthenticationForm struct {
+ Id int64 `form:"id"`
Type int `form:"type"`
Name string `form:"name" binding:"MaxSize(50)"`
Domain string `form:"domain"`
@@ -10,4 +11,5 @@ type AuthenticationForm struct {
Attributes string `form:"attributes"`
Filter string `form:"filter"`
MsAdSA string `form:"ms_ad_sa"`
+ IsActived bool `form:"is_actived"`
}