From ed1d212ae2daea5e4bd043417610177093e99f19 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sat, 16 Jan 2016 03:03:51 -0500 Subject: [PATCH] Improved SVG cleanup code --- plugins/password/config.inc.php.dist | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/plugins/password/config.inc.php.dist b/plugins/password/config.inc.php.dist index 0b004b8..b1478db 100644 --- a/plugins/password/config.inc.php.dist +++ b/plugins/password/config.inc.php.dist @@ -47,11 +47,12 @@ // using password_algorithm above. Default: empty. $config['password_algorithm_prefix'] = ''; -// Path for dovecotpw/doveadm-pw (if not in $PATH) +// Path for dovecotpw/doveadm-pw (if not in the $PATH). // Used for password_algorithm = 'dovecot'. -// $config['password_dovecotpw'] = '/usr/local/sbin/dovecotpw'; +// $config['password_dovecotpw'] = '/usr/local/sbin/doveadm pw'; // for dovecot-2.x +$config['password_dovecotpw'] = '/usr/local/sbin/dovecotpw'; // for dovecot-1.x -// Dovecot method (dovecotpw -s 'method') +// Dovecot password scheme. // Used for password_algorithm = 'dovecot'. $config['password_dovecotpw_method'] = 'CRAM-MD5'; @@ -60,6 +61,17 @@ // Be aware, the higher the value, the longer it takes to generate the password hashes. $config['password_blowfish_cost'] = 12; +// Number of rounds for the sha256 and sha512 crypt hashing algorithms. +// Must be at least 1000. If not set, then the number of rounds is left up +// to the crypt() implementation. On glibc this defaults to 5000. +// Be aware, the higher the value, the longer it takes to generate the password hashes. +//$config['password_crypt_rounds'] = 50000; + +// This option temporarily disables the password change functionality. +// Use it when the users database server is in maintenance mode or sth like that. +// You can set it to TRUE/FALSE or a text describing the reason +// which will replace the default. +$config['password_disabled'] = false; // SQL Driver options -- Gitblit v1.9.1