Skip to content

Commit 3e4e39c

Browse files
committed
Merge branch 'master' into realtime-compiler-live-edit
2 parents 083dd8d + 763c08f commit 3e4e39c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/realtime-compiler/src/Http/BaseController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ protected function isRequestMadeFromLocalhost(): bool
8686
return in_array($requestIp, $allowedIps, true);
8787
}
8888

89-
protected function generateCSRFToken(): string
89+
protected static function generateCSRFToken(): string
9090
{
9191
if (empty($_SESSION['csrf_token'])) {
9292
$_SESSION['csrf_token'] = bin2hex(random_bytes(32));

0 commit comments

Comments
 (0)