liquid_feedback_frontend

diff config/init.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 46c8736b95ad
children e7cea3037d69
line diff
     1.1 --- a/config/init.lua	Sun Aug 26 22:37:49 2012 +0200
     1.2 +++ b/config/init.lua	Sun Sep 23 14:35:20 2012 +0200
     1.3 @@ -5,6 +5,18 @@
     1.4  
     1.5  config.app_version = "2.0.5"
     1.6  
     1.7 +if not config.password_hash_algorithm then
     1.8 +  config.password_hash_algorithm = "crypt_sha512"
     1.9 +end
    1.10 +
    1.11 +if not config.password_hash_min_rounds then
    1.12 + config.password_hash_min_rounds = 10000
    1.13 +end
    1.14 +
    1.15 +if not config.password_hash_max_rounds then
    1.16 +  config.password_hash_max_rounds = 20000
    1.17 +end
    1.18 +
    1.19  if config.enabled_languages == nil then
    1.20    config.enabled_languages = { 'en', 'de', 'eo', 'el', 'hu', 'it', 'nl', 'zh-Hans', 'zh-TW' }
    1.21  end

Impressum / About Us