From 71558d3342ed7e00bf01dcd5ac28c9d97087296a Mon Sep 17 00:00:00 2001 From: Felipe Lessa Date: Tue, 25 Feb 2014 19:08:50 -0300 Subject: [PATCH] Increase Yesod.Auth.Email pwstore strength to the recommended minimum of 14. --- yesod-auth/Yesod/Auth/Email.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yesod-auth/Yesod/Auth/Email.hs b/yesod-auth/Yesod/Auth/Email.hs index 7270119f..d9cb51e1 100644 --- a/yesod-auth/Yesod/Auth/Email.hs +++ b/yesod-auth/Yesod/Auth/Email.hs @@ -432,7 +432,7 @@ saltLength = 5 -- | Salt a password with a randomly generated salt. saltPass :: Text -> IO Text saltPass = fmap (decodeUtf8With lenientDecode) - . flip PS.makePassword 12 + . flip PS.makePassword 14 . encodeUtf8 saltPass' :: String -> String -> String