]> BookStack Code Mirror - bookstack/blob - app/Config/hashing.php
Upgraded to Laravel 5.6
[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
16     // used; however, you remain free to modify this option if you wish.
17     // Supported: "bcrypt", "argon"
18     'driver' => 'bcrypt',
19
20     // Bcrypt Options
21     // Here you may specify the configuration options that should be used when
22     // passwords are hashed using the Bcrypt algorithm. This will allow you
23     // to control the amount of time it takes to hash the given password.
24     'bcrypt' => [
25         'rounds' => env('BCRYPT_ROUNDS', 10),
26     ],
27
28     // Argon Options
29     // Here you may specify the configuration options that should be used when
30     // passwords are hashed using the Argon algorithm. These will allow you
31     // to control the amount of time it takes to hash the given password.
32     'argon' => [
33         'memory' => 1024,
34         'threads' => 2,
35         'time' => 2,
36     ],
37
38 ];