Skip to content

Commit

Permalink
Merge branch 'master' into realtime-compiler-live-edit
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Nov 13, 2023
2 parents 083dd8d + 763c08f commit 3e4e39c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/realtime-compiler/src/Http/BaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ protected function isRequestMadeFromLocalhost(): bool
return in_array($requestIp, $allowedIps, true);
}

protected function generateCSRFToken(): string
protected static function generateCSRFToken(): string
{
if (empty($_SESSION['csrf_token'])) {
$_SESSION['csrf_token'] = bin2hex(random_bytes(32));
Expand Down

0 comments on commit 3e4e39c

Please sign in to comment.