Skip to content
Snippets Groups Projects
Commit 706c0d19 authored by Stefan Auditor's avatar Stefan Auditor
Browse files

Issue #3452221 by scambler, sanduhrs: Not verifying token

parent 03601306
No related branches found
No related tags found
3 merge requests!34Issue #3302284 by sanduhrs, ant1, datawench, vrs11: Add possibility to set up...,!21Draft: Issue #3164199 by sanduhrs: Add content type application/x-www-form-urlencoded,!19Issue #3452221 by scambler, sanduhrs: Not verifying token
Pipeline #503613 passed
......@@ -280,7 +280,7 @@ class WebhooksService implements WebhookDispatcherInterface, WebhookReceiverInte
Webhook::verify($webhook_config->getSecret(), $request->getContent(), $webhook->getSignature());
}
// Legacy webhooks often only use a secret token.
elseif ($webhook_config->getSecret() || $webhook->getToken()) {
elseif ($webhook_config->getToken() || $webhook->getToken()) {
Webhook::verifyToken($webhook_config->getToken(), $webhook->getToken());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment