Skip to content

Commit

Permalink
Merge pull request #8 from mercuryseries/patch-1
Browse files Browse the repository at this point in the history
Add priority for kernel.request event subscriber
  • Loading branch information
dneustadt authored Apr 8, 2023
2 parents ecc8ee7 + 7d2c281 commit b38013e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EventSubscriber/KernelEventSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(CsrfRequestEvaluator $csrfRequest)
public static function getSubscribedEvents(): array
{
return [
KernelEvents::REQUEST => 'onKernelRequest',
KernelEvents::REQUEST => ['onKernelRequest', 12],
KernelEvents::RESPONSE => 'onKernelResponse',
];
}
Expand Down

0 comments on commit b38013e

Please sign in to comment.