diff options
author | Michal Čihař <michal@cihar.com> | 2016-08-24 13:02:04 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-08-24 13:03:22 +0300 |
commit | 6879923acc50842029541f6602a54b3600df6e34 (patch) | |
tree | 597753a054534c78be727bf2b7037b064b5eb3e8 /index.php | |
parent | cbd6137c03a7cf0db7b361bf34656e4c046d863b (diff) |
Do not show warning about short blowfish_secret if none is set
With empty blowfish_secret user would always get both warnings...
Fixes #12485
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -518,8 +518,7 @@ if (! empty($_SESSION['encryption_key'])) { ), E_USER_WARNING ); - } - if (strlen($GLOBALS['cfg']['blowfish_secret']) < 32) { + } elseif (strlen($GLOBALS['cfg']['blowfish_secret']) < 32) { trigger_error( __( 'The secret passphrase in configuration (blowfish_secret) is too short.' |