mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Disable password complexity check default (#12557)
* Disable password complexity check default These features enourange bad passwords/are annoying for people using better password methods, and at minimum we shouldn't force that as a default for obvious reasons. Disable any default check to avoid regular complaints. * fix copy paste format
This commit is contained in:
		@@ -497,9 +497,9 @@ DISABLE_GIT_HOOKS = false
 | 
			
		||||
; Set to false to allow pushes to gitea repositories despite having an incomplete environment - NOT RECOMMENDED
 | 
			
		||||
ONLY_ALLOW_PUSH_IF_GITEA_ENVIRONMENT_SET = true
 | 
			
		||||
;Comma separated list of character classes required to pass minimum complexity.
 | 
			
		||||
;If left empty or no valid values are specified, the default values ("lower,upper,digit,spec") will be used.
 | 
			
		||||
;Use "off" to disable checking.
 | 
			
		||||
PASSWORD_COMPLEXITY = lower,upper,digit,spec
 | 
			
		||||
;If left empty or no valid values are specified, the default is off (no checking)
 | 
			
		||||
;Classes include "lower,upper,digit,spec"
 | 
			
		||||
PASSWORD_COMPLEXITY = off
 | 
			
		||||
; Password Hash algorithm, either "pbkdf2", "argon2", "scrypt" or "bcrypt"
 | 
			
		||||
PASSWORD_HASH_ALGO = pbkdf2
 | 
			
		||||
; Set false to allow JavaScript to read CSRF cookie
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user