mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Merge branch 'develop' of github.com:gogits/gogs into feature/page_issues
This commit is contained in:
		@@ -11,6 +11,7 @@ import (
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type AdminEditUserForm struct {
 | 
			
		||||
	FullName     string `form:"fullname" binding:"MaxSize(100)"`
 | 
			
		||||
	Email        string `binding:"Required;Email;MaxSize(50)"`
 | 
			
		||||
	Password     string `binding:"OmitEmpty;MinSize(6);MaxSize(255)"`
 | 
			
		||||
	Website      string `binding:"MaxSize(50)"`
 | 
			
		||||
 
 | 
			
		||||
@@ -116,7 +116,7 @@ func (f *AddEmailForm) Validate(ctx *macaron.Context, errs binding.Errors) bindi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type ChangePasswordForm struct {
 | 
			
		||||
	OldPassword string `form:"old_password" binding:"Required;MinSize(6);MaxSize(255)"`
 | 
			
		||||
	OldPassword string `form:"old_password" binding:"Required;MinSize(1);MaxSize(255)"`
 | 
			
		||||
	Password    string `form:"password" binding:"Required;MinSize(6);MaxSize(255)"`
 | 
			
		||||
	Retype      string `form:"retype"`
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user