aboutsummaryrefslogtreecommitdiffstats
path: root/modules/auth/auth.go
diff options
context:
space:
mode:
authorskyblue <ssx205@gmail.com>2014-03-23 22:40:35 +0800
committerskyblue <ssx205@gmail.com>2014-03-23 22:40:35 +0800
commit4bac3616055110da6f060e98174bc2381ef91286 (patch)
tree6fc09df1b6bef1a73fac40771702ae5f4f71f1d4 /modules/auth/auth.go
parentb9302749ddc0e0a10911a83bf80e165b792c8c1e (diff)
parentf7f175a0793a53f3c50d20d89e324a610f94c442 (diff)
downloadgitea-4bac3616055110da6f060e98174bc2381ef91286.tar.gz
gitea-4bac3616055110da6f060e98174bc2381ef91286.zip
merge with branch master
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 0e87168891..2e0555f6df 100644
--- a/modules/auth/auth.go
+++ b/modules/auth/auth.go
@@ -61,6 +61,7 @@ func (f *RegisterForm) Validate(errors *binding.Errors, req *http.Request, conte
type LogInForm struct {
UserName string `form:"username" binding:"Required;AlphaDash;MaxSize(30)"`
Password string `form:"passwd" binding:"Required;MinSize(6);MaxSize(30)"`
+ Remember string `form:"remember"`
}
func (f *LogInForm) Name(field string) string {