From 62ed77ab25f8f2cf5103caf572079ebc2b50f6bc Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sun, 28 Jul 2019 15:33:01 +0200 Subject: Groups: Fix Naming and IDs --- src/Helpers/AuthenticatorServiceProvider.php | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Helpers/AuthenticatorServiceProvider.php') 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); -- cgit v1.3.1