mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix missing password length check when change password (#3039)
* fix missing password length check when change password * add tests for change password
This commit is contained in:
		@@ -34,7 +34,9 @@ func MockContext(t *testing.T, path string) *context.Context {
 | 
			
		||||
	macaronContext.Data = map[string]interface{}{}
 | 
			
		||||
	return &context.Context{
 | 
			
		||||
		Context: &macaronContext,
 | 
			
		||||
		Flash:   &session.Flash{},
 | 
			
		||||
		Flash: &session.Flash{
 | 
			
		||||
			Values: make(url.Values),
 | 
			
		||||
		},
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user