Loading one_time_password.info.yml +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 tests/src/Functional/UserLoginEnforceTest.php +2 −1 Original line number Diff line number Diff line Loading @@ -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'); Loading tests/src/Kernel/UserFieldAttachTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -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'); Loading Loading
one_time_password.info.yml +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
tests/src/Functional/UserLoginEnforceTest.php +2 −1 Original line number Diff line number Diff line Loading @@ -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'); Loading
tests/src/Kernel/UserFieldAttachTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -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'); Loading