@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | $this->changeUsersDriver(); |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | - \Auth::macro('isUsingMasterPass', function () { |
|
| 28 | + \Auth::macro('isUsingMasterPass', function() { |
|
| 29 | 29 | return session()->get('master_pass_is_used'); |
| 30 | 30 | }); |
| 31 | 31 | } |
@@ -48,11 +48,11 @@ discard block |
||
| 48 | 48 | |
| 49 | 49 | private function registerAuthProviders() |
| 50 | 50 | { |
| 51 | - \Auth::provider('eloquentMasterPassword', function ($app, array $config) { |
|
| 51 | + \Auth::provider('eloquentMasterPassword', function($app, array $config) { |
|
| 52 | 52 | return new MasterPassEloquentUserProvider($app['hash'], $config['model']); |
| 53 | 53 | }); |
| 54 | 54 | |
| 55 | - \Auth::provider('databaseMasterPassword', function ($app, array $config) { |
|
| 55 | + \Auth::provider('databaseMasterPassword', function($app, array $config) { |
|
| 56 | 56 | $connection = $app['db']->connection(); |
| 57 | 57 | |
| 58 | 58 | return new MasterPassDatabaseUserProvider($connection, $app['hash'], $config['table']); |