Skip to content

Commit

Permalink
Bugfix: CSRF status code
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderTigron committed Jan 10, 2022
1 parent b0b90ad commit d6580ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Skeleton/Core/Application/Web.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public function run() {
if ($this->event_exists('security', 'csrf_validation_failed')) {
$this->call_event_if_exists('security', 'csrf_validation_failed');
} else {
HTTP\Status::code_403('CSRF validation failed');
\Skeleton\Core\Web\HTTP\Status::code_403('CSRF validation failed');
}
}

Expand Down

0 comments on commit d6580ca

Please sign in to comment.