From 9263398f97b17f4e67ff7594fc047eed05527333 Mon Sep 17 00:00:00 2001 From: Hermanni Piirainen Date: Thu, 30 May 2024 18:59:07 +0300 Subject: [PATCH] Fix faulty expected value for allow_fallback option --- src/Actions/Configuration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Actions/Configuration.php b/src/Actions/Configuration.php index 6c9bd7262..b29a8f5dd 100644 --- a/src/Actions/Configuration.php +++ b/src/Actions/Configuration.php @@ -1059,7 +1059,7 @@ private function getOptionDescription(string $context): string if ('fallback_secret' === $context && $this->isPluginReady()) { $fallbackAllowed = $this->getPlugin()->getOption('authentication', 'allow_fallback', 0); - if (1 === $fallbackAllowed) { + if ('true' === $fallbackAllowed) { $updated = get_site_transient('auth0_updated_fallback'); if (! $updated) {