mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Add Password Algorithm option to install page (#14701)
Add Password Algorithm option to install page Fix #14674 Co-authored-by: John Olheiser <john.olheiser@gmail.com>
This commit is contained in:
		| @@ -56,7 +56,17 @@ const ( | ||||
| 	algoScrypt = "scrypt" | ||||
| 	algoArgon2 = "argon2" | ||||
| 	algoPbkdf2 = "pbkdf2" | ||||
| ) | ||||
|  | ||||
| // AvailableHashAlgorithms represents the available password hashing algorithms | ||||
| var AvailableHashAlgorithms = []string{ | ||||
| 	algoPbkdf2, | ||||
| 	algoArgon2, | ||||
| 	algoScrypt, | ||||
| 	algoBcrypt, | ||||
| } | ||||
|  | ||||
| const ( | ||||
| 	// EmailNotificationsEnabled indicates that the user would like to receive all email notifications | ||||
| 	EmailNotificationsEnabled = "enabled" | ||||
| 	// EmailNotificationsOnMention indicates that the user would like to be notified via email when mentioned. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user