Commit 713fc7e2 authored by git's avatar git Committed by Kim Pepper
Browse files

Issue #3288859 by Project Update Bot: Automated Drupal 10 compatibility fixes

parent 0e5d8dc7
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
name: One Time Password
description: An integration for one time passwords according to RFC 4226 (HOTP) and the RFC 6238 (TOTP).
core: 8.x
type: module
core_version_requirement: ^8 || ^9
core_version_requirement: ^9.1 || ^10
dependencies:
  - drupal:user
+2 −1
Original line number Diff line number Diff line
@@ -111,7 +111,8 @@ class UserLoginEnforceTest extends BrowserTestBase {
    // Login 6 times incorrectly to trigger a flood warning from core as well
    // as the OTP threshold.
    foreach (range(0, 5) as $i) {
      $this->drupalPostForm('user/login', [
      $this->drupalGet('user/login');
      $this->submitForm([
        'name' => $tfa_user->getAccountName(),
        'pass' => 'incorrect password',
      ], 'Log in');
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ class UserFieldAttachTest extends KernelTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();
    $this->installEntitySchema('user');
    $this->installSchema('system', 'sequences');