src/Lodash/Commands/UserAdd.php 1 location
|
@@ 36-40 (lines=5) @@
|
33 |
|
$guard = $this->getGuard(); |
34 |
|
$config = config('auth'); |
35 |
|
|
36 |
|
if (! isset($config['guards'][$guard]['provider'])) { |
37 |
|
$this->error('Provider not found for guard "' . $guard . '"!'); |
38 |
|
|
39 |
|
return; |
40 |
|
} |
41 |
|
$provider = $config['guards'][$guard]['provider']; |
42 |
|
if (! isset($config['providers'][$provider]['model'])) { |
43 |
|
$this->error('Model not found for provider "' . $provider . '"!'); |
src/Lodash/Commands/UserPassword.php 1 location
|
@@ 38-42 (lines=5) @@
|
35 |
|
$guard = $this->getGuard(); |
36 |
|
$config = config('auth'); |
37 |
|
|
38 |
|
if (! isset($config['guards'][$guard]['provider'])) { |
39 |
|
$this->error('Provider not found for guard "' . $guard . '"!'); |
40 |
|
|
41 |
|
return; |
42 |
|
} |
43 |
|
$provider = $config['guards'][$guard]['provider']; |
44 |
|
if (! isset($config['providers'][$provider]['model'])) { |
45 |
|
$this->error('Model not found for provider "' . $provider . '"!'); |