Selaa lähdekoodia

change default bcrypt rounds to 12, to match default in AuthenticationManager

Brian Gough 10 vuotta sitten
vanhempi
sitoutus
0906bef5f9
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      services/web/config/settings.defaults.coffee

+ 1 - 1
services/web/config/settings.defaults.coffee

@@ -137,7 +137,7 @@ module.exports =
 	# --------
 	security:
 		sessionSecret: sessionSecret
-		bcryptRounds: 14
+		bcryptRounds: 12 # number of rounds used to hash user passwords (raised to power 2)
 
 	httpAuthUsers: httpAuthUsers