From 8fab3e4b1fc80b3421623b6b00a7339e9e5e881a Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 1 Apr 2016 23:19:37 +0200 Subject: Support changing password hashing settings Signed-off-by: Florian Pritz --- application/config/config.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'application/config/config.php') diff --git a/application/config/config.php b/application/config/config.php index 45cff945e..a535c4fea 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -440,6 +440,15 @@ $config['auth_fluxbb'] = array( 'database' => 'fluxbb' ); +// This is only used if the driver is set to db +// For information about these values refer to https://secure.php.net/manual/en/function.password-hash.php +$config['auth_db'] = array( + 'hashing_options' => array( + 'cost' => 10, + ), + 'hashing_algorithm' => PASSWORD_DEFAULT, +); + // Possible values: production, development // "development" enables features like profiling and display of SQL queries. -- cgit v1.2.3-24-g4f1b