Skip to content

Commit 0f77b7c

Browse files
committed
fix: patch up csrfEnabled flag
1 parent a2f55f3 commit 0f77b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static function loadApplicationConfig()
5050
Config::getStatic('mvc.config.auth')['session'] ?? false
5151
);
5252

53-
if ($csrfConfig['enabled'] ?? null !== null) {
53+
if (($csrfConfig['enabled'] ?? null) !== null) {
5454
$csrfEnabled = $csrfConfig['enabled'];
5555
}
5656

0 commit comments

Comments
 (0)