summaryrefslogtreecommitdiffstats
path: root/modules/auth/auth.go
diff options
context:
space:
mode:
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 8f7deaa309..2f77349177 100644
--- a/modules/auth/auth.go
+++ b/modules/auth/auth.go
@@ -26,6 +26,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 {