From fdced669be0c61ce7d0f8b0427962aeedd8a59ae Mon Sep 17 00:00:00 2001 From: Simon Schaufelberger Date: Sat, 9 Feb 2019 01:09:52 +0100 Subject: [PATCH] Remove dead code --- src/Jenssegers/Mongodb/Auth/PasswordBrokerManager.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Jenssegers/Mongodb/Auth/PasswordBrokerManager.php b/src/Jenssegers/Mongodb/Auth/PasswordBrokerManager.php index 5320ae890..281f8af75 100644 --- a/src/Jenssegers/Mongodb/Auth/PasswordBrokerManager.php +++ b/src/Jenssegers/Mongodb/Auth/PasswordBrokerManager.php @@ -11,14 +11,6 @@ class PasswordBrokerManager extends BasePasswordBrokerManager */ protected function createTokenRepository(array $config) { - $key = $this->app['config']['app.key']; - - if (\Illuminate\Support\Str::startsWith($key, 'base64:')) { - $key = base64_decode(substr($key, 7)); - } - - $connection = isset($config['connection']) ? $config['connection'] : null; - return new DatabaseTokenRepository( $this->app['db']->connection(), $this->app['hash'],