index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
modules
/
auth
/
auth.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'modules/auth/auth.go')
-rw-r--r--
modules/auth/auth.go
1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/auth/auth.go b/modules/auth/auth.go
index 8f7deaa3..2f773491 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 {