summaryrefslogtreecommitdiff
path: root/src/Helpers/AuthenticatorServiceProvider.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-07-28 15:33:01 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2019-07-29 00:58:02 +0200
commit62ed77ab25f8f2cf5103caf572079ebc2b50f6bc (patch)
tree8bd2e4b7b32a3389ca4e2e4ccbaee1168a2fed67 /src/Helpers/AuthenticatorServiceProvider.php
parentbb45d460987032bedca6870df4386cfc4c01800f (diff)
Groups: Fix Naming and IDs
Diffstat (limited to 'src/Helpers/AuthenticatorServiceProvider.php')
-rw-r--r--src/Helpers/AuthenticatorServiceProvider.php1
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);