diff --git a/.env.example b/.env.example index c3859a81c..e24f6bf0b 100644 --- a/.env.example +++ b/.env.example @@ -37,6 +37,7 @@ APP_URL= APP_TZ= APP_KEY= LOG_CHANNEL=stack +PASSWORD_HASH=argon BROADCAST_DRIVER=log CACHE_DRIVER=file diff --git a/Changelog b/Changelog index c8580ede9..2ec08cbf0 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-12-28 DariusIII + * Chg: Add option for users to change password hashing algorithm in their .env file * Chg: Add new line to end of messages for found movie names from sources used * Chg: Update voku/simple_html_dom to version 4.1.10 * Chg: Update voku/simple_html_dom to version 4.1.8 diff --git a/config/hashing.php b/config/hashing.php index ac14491d9..3ed4c3a17 100644 --- a/config/hashing.php +++ b/config/hashing.php @@ -13,7 +13,7 @@ return [ | Supported: "bcrypt", "argon", "argon2id" | */ - 'driver' => 'argon', + 'driver' => env('PASSWORD_HASH', 'argon'), /* |-------------------------------------------------------------------------- | Bcrypt Options