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