Skip to content

Commit fe70309

Browse files
authored
Merge pull request #1702 from simonschaufi/patch-1
Remove dead code
2 parents 9df6d1e + fdced66 commit fe70309

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Jenssegers/Mongodb/Auth/PasswordBrokerManager.php

-8
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)