From 678e3b3a49b53e12357fbeb9151d761f17e333e1 Mon Sep 17 00:00:00 2001 From: Ian Morland Date: Tue, 17 Oct 2023 17:29:22 +0100 Subject: [PATCH] fix: unknown class --- extend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extend.php b/extend.php index 01c113a..f7e1ee2 100644 --- a/extend.php +++ b/extend.php @@ -94,7 +94,7 @@ (new Extend\Conditional()) ->whenExtensionEnabled('fof-oauth', [ - class_exists(\FoF\Extend\Extend\OAuthController) ? (new \FoF\Extend\Extend\OAuthController()) + class_exists(\FoF\Extend\Extend\OAuthController::class) ? (new \FoF\Extend\Extend\OAuthController()) ->afterOAuthSuccess(TwoFactorOAuthCheck::class) : null, (new Extend\Routes('forum'))