From 1652dd5068f2f3ae1851bc2321832c88af85d570 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 5 May 2014 16:40:25 +0800 Subject: basic authentications --- modules/auth/auth.go | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/auth/auth.go') diff --git a/modules/auth/auth.go b/modules/auth/auth.go index 350ef4fc..49ace507 100644 --- a/modules/auth/auth.go +++ b/modules/auth/auth.go @@ -25,6 +25,7 @@ type RegisterForm struct { Email string `form:"email" binding:"Required;Email;MaxSize(50)"` Password string `form:"passwd" binding:"Required;MinSize(6);MaxSize(30)"` RetypePasswd string `form:"retypepasswd"` + LoginType string `form:"logintype"` } func (f *RegisterForm) Name(field string) string { -- cgit v1.2.3