Skip to content

Commit

Permalink
fix: unknown class
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Oct 17, 2023
1 parent fcc9ea1 commit 678e3b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down

0 comments on commit 678e3b3

Please sign in to comment.