From 21153234b13172ab10820e1c44992f882e394814 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sun, 16 Jun 2019 02:48:01 +0200 Subject: [PATCH] install_roundcube.sh: change default password length to 12 --- conf/install_upgrade_roundcube.conf.sample | 2 +- install_roundcube.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/install_upgrade_roundcube.conf.sample b/conf/install_upgrade_roundcube.conf.sample index 88c585d..8f61479 100644 --- a/conf/install_upgrade_roundcube.conf.sample +++ b/conf/install_upgrade_roundcube.conf.sample @@ -289,7 +289,7 @@ POSTFIX_DB_PASSWD='' # - # - $config['password_minimum_length'] # - -# - Defaults to '10' +# - Defaults to '12' # - #PW_MIN_LENGTH="" diff --git a/install_roundcube.sh b/install_roundcube.sh index 7fc3d62..395c529 100755 --- a/install_roundcube.sh +++ b/install_roundcube.sh @@ -307,7 +307,7 @@ fi # - Plugin passord # - [[ -n "$PW_CONFIRM_CURRENT" ]] || PW_CONFIRM_CURRENT=true -[[ -n "$PW_MIN_LENGTH" ]] || PW_MIN_LENGTH=10 +[[ -n "$PW_MIN_LENGTH" ]] || PW_MIN_LENGTH=12 [[ -n "$PW_REQUIRE_NONALPHA" ]] || PW_REQUIRE_NONALPHA=true [[ -n "$PW_PASSWD_ALGO" ]] || PW_PASSWD_ALGO="dovecot" [[ -n "$PW_PASSWD_ALGO_PREFIX" ]] || PW_PASSWD_ALGO_PREFIX="{SHA512-CRYPT}"