Release v6.0.13 fixes an issue with the authentication controllers.

This commit is contained in:
James Cole
2023-06-11 18:18:46 +02:00
parent f11db0de61
commit cbf8c6e80d
14 changed files with 35 additions and 48 deletions

View File

@@ -66,9 +66,7 @@ class UserController extends Controller
}
);
$this->middleware(IsDemoUser::class)->except(['index', 'show']);
$loginProvider = config('firefly.login_provider');
$authGuard = config('firefly.authentication_guard');
$this->externalIdentity = 'eloquent' !== $loginProvider || 'web' !== $authGuard;
$this->externalIdentity = 'web' !== config('firefly.authentication_guard');
}
/**