Skip to content
Snippets Groups Projects

Issue #3352732: Resolve access check errors for D10 compatibility

1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -18,6 +18,7 @@ class ReCaptchaV3ActionDeleteForm extends EntityDeleteForm {
@@ -18,6 +18,7 @@ class ReCaptchaV3ActionDeleteForm extends EntityDeleteForm {
public function buildForm(array $form, FormStateInterface $form_state) {
public function buildForm(array $form, FormStateInterface $form_state) {
$action = $this->entityTypeManager->getStorage('captcha_point')->getQuery()
$action = $this->entityTypeManager->getStorage('captcha_point')->getQuery()
 
->accessCheck(FALSE)
->condition('captchaType', 'recaptcha_v3/' . $this->entity->id())
->condition('captchaType', 'recaptcha_v3/' . $this->entity->id())
->execute();
->execute();
if (!empty($action)) {
if (!empty($action)) {
Loading