Skip to content

Commit

Permalink
fix: patch up csrfEnabled flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Dec 17, 2024
1 parent a2f55f3 commit 0f77b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static function loadApplicationConfig()
Config::getStatic('mvc.config.auth')['session'] ?? false
);

if ($csrfConfig['enabled'] ?? null !== null) {
if (($csrfConfig['enabled'] ?? null) !== null) {
$csrfEnabled = $csrfConfig['enabled'];
}

Expand Down

0 comments on commit 0f77b7c

Please sign in to comment.