diff options
author | Florian Pritz <bluewind@xinu.at> | 2016-04-01 23:19:37 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-04-01 23:19:37 +0200 |
commit | 8fab3e4b1fc80b3421623b6b00a7339e9e5e881a (patch) | |
tree | dce7e34d990b60f4f31c2384223494ea322fcd6a /application/config | |
parent | 41d58f68e34e714e6c4cac5176d3fb40b762fa0b (diff) |
Support changing password hashing settings
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/config')
-rw-r--r-- | application/config/config.php | 9 |
1 files changed, 9 insertions, 0 deletions
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. |