Add login by email

This commit is contained in:
Unknown committed 2014-04-27 01:54:08 -06:00
1 parent ce05a8d7b6
commit 62240b6bc1
4 files changed
+14 -29

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ func (f *RegisterForm) Validate(errors *base.BindingErrors, req *http.Request, c
}
type LogInForm struct {
UserName string `form:"username" binding:"Required;AlphaDash;MaxSize(30)"`
UserName string `form:"username" binding:"Required;MaxSize(35)"`
Password string `form:"passwd" binding:"Required;MinSize(6);MaxSize(30)"`
Remember string `form:"remember"`
}