mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Turn default hash password algorightm back to pbkdf2 from argon2 until we found a better one (#14673) (#14675)
* Turn default hash password algorightm back to pbkdf2 from argon2 until we found a better one * Add a warning on document Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
		@@ -548,7 +548,7 @@ ONLY_ALLOW_PUSH_IF_GITEA_ENVIRONMENT_SET = true
 | 
			
		||||
;Classes include "lower,upper,digit,spec"
 | 
			
		||||
PASSWORD_COMPLEXITY = off
 | 
			
		||||
; Password Hash algorithm, either "argon2", "pbkdf2", "scrypt" or "bcrypt"
 | 
			
		||||
PASSWORD_HASH_ALGO = argon2
 | 
			
		||||
PASSWORD_HASH_ALGO = pbkdf2
 | 
			
		||||
; Set false to allow JavaScript to read CSRF cookie
 | 
			
		||||
CSRF_COOKIE_HTTP_ONLY = true
 | 
			
		||||
; Validate against https://haveibeenpwned.com/Passwords to see if a password has been exposed
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user