Skip to content
Snippets Groups Projects
Commit bde2c01a authored by catch's avatar catch
Browse files

Issue #3479857 by amateescu: User login and password reset forms should be workspace-safe

(cherry picked from commit 044dcc53)
parent 01f864cc
No related branches found
No related tags found
5 merge requests!122353526426-warning-for-missing,!11958Issue #3490507 by alexpott, smustgrave: Fix bogus mocking in...,!11769Issue #3517987: Add option to contextual filters to encode slashes in query parameter.,!11185Issue #3477324 by andypost, alexpott: Fix usage of str_getcsv() and fgetcsv() for PHP 8.4,!9944Issue #3483353: Consider making the createCopy config action optionally fail...
Pipeline #313657 passed with warnings
Pipeline: drupal

#313685

    Pipeline: drupal

    #313679

      Pipeline: drupal

      #313675

        +1
        ......@@ -4,6 +4,7 @@
        use Drupal\Core\Form\FormBase;
        use Drupal\Core\Form\FormStateInterface;
        use Drupal\Core\Form\WorkspaceSafeFormInterface;
        use Drupal\Core\Render\RendererInterface;
        use Drupal\Core\Render\BareHtmlPageRendererInterface;
        use Drupal\Core\Url;
        ......@@ -19,7 +20,7 @@
        *
        * @internal
        */
        class UserLoginForm extends FormBase {
        class UserLoginForm extends FormBase implements WorkspaceSafeFormInterface {
        /**
        * The user flood control service.
        ......
        ......@@ -8,6 +8,7 @@
        use Drupal\Core\Flood\FloodInterface;
        use Drupal\Core\Form\FormBase;
        use Drupal\Core\Form\FormStateInterface;
        use Drupal\Core\Form\WorkspaceSafeFormInterface;
        use Drupal\Core\Language\LanguageManagerInterface;
        use Drupal\Core\Render\Element\Email;
        use Drupal\Core\TypedData\TypedDataManagerInterface;
        ......@@ -23,7 +24,7 @@
        *
        * @internal
        */
        class UserPasswordForm extends FormBase {
        class UserPasswordForm extends FormBase implements WorkspaceSafeFormInterface {
        use DeprecatedServicePropertyTrait;
        ......
        ......@@ -3,6 +3,7 @@
        namespace Drupal\user\Form;
        use Drupal\Core\Form\FormStateInterface;
        use Drupal\Core\Form\WorkspaceSafeFormInterface;
        use Drupal\Core\Session\AccountInterface;
        use Drupal\Core\Form\FormBase;
        use Drupal\Core\Url;
        ......@@ -14,7 +15,7 @@
        *
        * @internal
        */
        class UserPasswordResetForm extends FormBase {
        class UserPasswordResetForm extends FormBase implements WorkspaceSafeFormInterface {
        /**
        * {@inheritdoc}
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment