diff --git a/core/modules/user/src/Form/UserPasswordResetForm.php b/core/modules/user/src/Form/UserPasswordResetForm.php index 69b4588..303a21e 100644 --- a/core/modules/user/src/Form/UserPasswordResetForm.php +++ b/core/modules/user/src/Form/UserPasswordResetForm.php @@ -93,6 +93,8 @@ public function buildForm(array $form, FormStateInterface $form_state, AccountIn '#type' => 'submit', '#value' => $this->t('Log in'), ); + + $form['#cache']['tags'] = $this->config('user.settings')->getCacheTags(); return $form; }