aboutsummaryrefslogtreecommitdiffstats
path: root/modules/auth/auth.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/auth.go
parent79ea34e70ebe989f1a5f8fbd71cfe3109c6f8a58 (diff)
downloadgitea-1652dd5068f2f3ae1851bc2321832c88af85d570.tar.gz
gitea-1652dd5068f2f3ae1851bc2321832c88af85d570.zip
basic authentications
Diffstat (limited to 'modules/auth/auth.go')
-rw-r--r--modules/auth/auth.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/auth/auth.go b/modules/auth/auth.go
index 350ef4fcbf..49ace507b7 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 {