]> BookStack Code Mirror - bookstack/blob - app/Config/hashing.php
Added 404 response for non-existing setting categories
[bookstack] / app / Config / hashing.php
1 <?php
2
3 /**
4  * Hashing configuration options.
5  *
6  * Changes to these config files are not supported by BookStack and may break upon updates.
7  * Configuration should be altered via the `.env` file or environment variables.
8  * Do not edit this file unless you're happy to maintain any changes yourself.
9  */
10
11 return [
12
13     // Default Hash Driver
14     // This option controls the default hash driver that will be used to hash
15     // passwords for your application. By default, the bcrypt algorithm is used.
16     // Supported: "bcrypt", "argon", "argon2id"
17     'driver' => 'bcrypt',
18
19     // Bcrypt Options
20     // Here you may specify the configuration options that should be used when
21     // passwords are hashed using the Bcrypt algorithm. This will allow you
22     // to control the amount of time it takes to hash the given password.
23     'bcrypt' => [
24         'rounds' => env('BCRYPT_ROUNDS', 10),
25     ],
26
27     // Argon Options
28     // Here you may specify the configuration options that should be used when
29     // passwords are hashed using the Argon algorithm. These will allow you
30     // to control the amount of time it takes to hash the given password.
31     'argon' => [
32         'memory'  => 1024,
33         'threads' => 2,
34         'time'    => 2,
35     ],
36
37 ];
Morty Proxy This is a proxified and sanitized view of the page, visit original site.