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

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

parent dd3beacc
No related branches found
No related tags found
12 merge requests!11131[10.4.x-only-DO-NOT-MERGE]: Issue ##2842525 Ajax attached to Views exposed filter form does not trigger callbacks,!3878Removed unused condition head title for views,!3818Issue #2140179: $entity->original gets stale between updates,!3154Fixes #2987987 - CSRF token validation broken on routes with optional parameters.,!3133core/modules/system/css/components/hidden.module.css,!2812Issue #3312049: [Followup] Fix Drupal.Commenting.FunctionComment.MissingReturnType returns for NULL,!2062Issue #3246454: Add weekly granularity to views date sort,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!617Issue #3043725: Provide a Entity Handler for user cancelation,!579Issue #2230909: Simple decimals fail to pass validation,!560Move callback classRemove outside of the loop,!555Issue #3202493
Pipeline #313658 passed with warnings
Pipeline: drupal

#313678

    Pipeline: drupal

    #313673

      Pipeline: drupal

      #313666

        ...@@ -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.
        ......
        ...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,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\user\UserInterface; use Drupal\user\UserInterface;
        ...@@ -21,7 +22,7 @@ ...@@ -21,7 +22,7 @@
        * *
        * @internal * @internal
        */ */
        class UserPasswordForm extends FormBase { class UserPasswordForm extends FormBase implements WorkspaceSafeFormInterface {
        /** /**
        * The user storage. * The user storage.
        ......
        ...@@ -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