Skip to content

Commit e9387fe

Browse files
committed
Merge pull request mongodb#1702 from simonschaufi/patch-1
Remove dead code
2 parents e2b51a6 + de22037 commit e9387fe

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Jenssegers/Mongodb/Auth/PasswordBrokerManager.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@ class PasswordBrokerManager extends BasePasswordBrokerManager
1111
*/
1212
protected function createTokenRepository(array $config)
1313
{
14-
$key = $this->app['config']['app.key'];
15-
16-
if (\Illuminate\Support\Str::startsWith($key, 'base64:')) {
17-
$key = base64_decode(substr($key, 7));
18-
}
19-
20-
$connection = isset($config['connection']) ? $config['connection'] : null;
21-
2214
return new DatabaseTokenRepository(
2315
$this->app['db']->connection(),
2416
$this->app['hash'],

0 commit comments

Comments
 (0)