Merge branch 'dev-ldap' into dev

This commit is contained in:
Lunny Xiao 2014-05-05 16:42:15 +08:00
commit d8136c9c3c
18 changed files with 614 additions and 24 deletions

View file

@ -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 {