diff options
Diffstat (limited to 'src/Helpers/AuthenticatorServiceProvider.php')
-rw-r--r-- | src/Helpers/AuthenticatorServiceProvider.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Helpers/AuthenticatorServiceProvider.php b/src/Helpers/AuthenticatorServiceProvider.php index f06e635d..3534618d 100644 --- a/src/Helpers/AuthenticatorServiceProvider.php +++ b/src/Helpers/AuthenticatorServiceProvider.php @@ -14,6 +14,7 @@ class AuthenticatorServiceProvider extends ServiceProvider /** @var Authenticator $authenticator */ $authenticator = $this->app->make(Authenticator::class); $authenticator->setPasswordAlgorithm($config->get('password_algorithm')); + $authenticator->setGuestRole($config->get('auth_guest_role', $authenticator->getGuestRole())); $this->app->instance(Authenticator::class, $authenticator); $this->app->instance('authenticator', $authenticator); |