We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 083dd8d + 763c08f commit 3e4e39cCopy full SHA for 3e4e39c
packages/realtime-compiler/src/Http/BaseController.php
@@ -86,7 +86,7 @@ protected function isRequestMadeFromLocalhost(): bool
86
return in_array($requestIp, $allowedIps, true);
87
}
88
89
- protected function generateCSRFToken(): string
+ protected static function generateCSRFToken(): string
90
{
91
if (empty($_SESSION['csrf_token'])) {
92
$_SESSION['csrf_token'] = bin2hex(random_bytes(32));
0 commit comments