liquid_feedback_frontend

diff config/example.lua @ 905:e3887fea39fa

Added support for SHA-2 based password hashing
author bsw
date Sun Sep 23 14:35:20 2012 +0200 (2012-09-23)
parents 1eb36d7b04a7
children 2141aef04ad7
line diff
     1.1 --- a/config/example.lua	Sun Aug 26 22:37:49 2012 +0200
     1.2 +++ b/config/example.lua	Sun Sep 23 14:35:20 2012 +0200
     1.3 @@ -99,6 +99,19 @@
     1.4  -- config.mail_from = { name = "LiquidFeedback", address = "liquidfeedback@example.com" }
     1.5  -- config.mail_reply_to = { name = "Support", address = "support@example.com" }
     1.6  
     1.7 +-- Configuration of password hashing algorithm (defaults to "crypt_sha512")
     1.8 +-- ------------------------------------------------------------------------
     1.9 +-- config.password_hash_algorithm = "crypt_sha512"
    1.10 +-- config.password_hash_algorithm = "crypt_sha256"
    1.11 +-- config.password_hash_algorithm = "crypt_md5"
    1.12 +
    1.13 +-- Number of rounds for crypt_sha* algorithms, minimum and maximum
    1.14 +-- (defaults to minimum 10000 and maximum 20000)
    1.15 +-- ------------------------------------------------------------------------
    1.16 +-- config.password_hash_min_rounds = 10000
    1.17 +-- config.password_hash_max_rounds = 20000
    1.18 +
    1.19 +
    1.20  -- Supply custom url for avatar/photo delivery
    1.21  -- ------------------------------------------------------------------------
    1.22  -- config.fastpath_url_func = nil

Impressum / About Us