diff --git a/reset_flood_limit_on_password_reset-992540-41.patch b/reset_flood_limit_on_password_reset-992540-44.patch index db0c385..b70256e 100644 --- a/reset_flood_limit_on_password_reset-992540-41.patch +++ b/reset_flood_limit_on_password_reset-992540-44.patch @@ -13,19 +13,19 @@ index b5e8882..ff4be95 100644 + variable_set('user_failed_login_ip_limit', 4000); + // Set the per-user login limit. + variable_set('user_failed_login_user_limit', 3); -+ ++ + $user1 = $this->drupalCreateUser(array('administer users')); + $user2 = $this->drupalCreateUser(array()); + $user2->pass_raw .= 'incorrect'; -+ ++ + // Try 3 failed logins. + for ($i = 0; $i < 3; $i++) { + $this->assertFailedLogin($user2); + } -+ ++ + // The next login trial should result in an user-based flood error message. + $this->assertFailedLogin($user2, 'user'); -+ ++ + // Update the account and assert the user can login again. + $this->drupalLogin($user1); + $user2->pass_raw = 'goodpass'; @@ -37,7 +37,7 @@ index b5e8882..ff4be95 100644 + $this->drupalLogout(); + $this->drupalLogin($user2); + } -+ ++ + /** + * Test that flood events are removed after password reset. + */