Skip to content
Snippets Groups Projects
Verified Commit 5874bcd3 authored by quietone's avatar quietone
Browse files

Issue #2969406 by bhanu951, robincs, quietone, ranjit1032002, sahil.goyal,...

Issue #2969406 by bhanu951, robincs, quietone, ranjit1032002, sahil.goyal, urvashi_vora, opdavies, elber, aaronmchale, avpaderno, smustgrave, alberto56, cilefen, benjifisher, lauriii, larowlan, Mahima_Mathur23, nkoporec, borisson_, poker10: Fix incorrect message after resetting password
parent dd2982b5
No related branches found
No related tags found
13 merge requests!11197Issue #3506427 by eduardo morales alberti: Remove responsive_image.ajax from hook,!11131[10.4.x-only-DO-NOT-MERGE]: Issue ##2842525 Ajax attached to Views exposed filter form does not trigger callbacks,!10786Issue #3490579 by shalini_jha, mstrelan: Add void return to all views...,!5423Draft: Resolve #3329907 "Test2",!3878Removed unused condition head title for views,!3818Issue #2140179: $entity->original gets stale between updates,!3478Issue #3337882: Deleted menus are not removed from content type config,!3154Fixes #2987987 - CSRF token validation broken on routes with optional parameters.,!2964Issue #2865710 : Dependencies from only one instance of a widget are used in display modes,!2062Issue #3246454: Add weekly granularity to views date sort,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!579Issue #2230909: Simple decimals fail to pass validation,!213Issue #2906496: Give Media a menu item under Content
Pipeline #348896 passed with warnings
Pipeline: drupal

#348920

    Pipeline: drupal

    #348904

      ......@@ -260,7 +260,7 @@ public function resetPassLogin($uid, $timestamp, $hash, Request $request) {
      user_login_finalize($user);
      $this->logger->info('User %name used one-time login link at time %timestamp.', ['%name' => $user->getDisplayName(), '%timestamp' => $timestamp]);
      $this->messenger()->addStatus($this->t('You have just used your one-time login link. It is no longer necessary to use this link to log in. It is recommended that you set your password.'));
      $this->messenger()->addStatus($this->t('You have used a one-time login link. You can set your new password now.'));
      // Let the user's password be changed without the current password
      // check.
      $token = Crypt::randomBytesBase64(55);
      ......
      ......@@ -605,7 +605,7 @@ protected function loginFromResetEmail(): void {
      $resetURL = $urls[0];
      $this->drupalGet($resetURL);
      $this->submitForm([], 'Log in');
      $this->assertSession()->pageTextContains('You have just used your one-time login link. It is no longer necessary to use this link to log in. It is recommended that you set your password.');
      $this->assertSession()->pageTextContains('You have used a one-time login link. You can set your new password now.');
      }
      }
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Please to comment