Project

General

Profile

Actions

Patch #36795

closed

Set the minimum required version of ROTP gem to 5.0.0

Added by Go MAEDA over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Gems support
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Two-factor authentication does not work if ROTP prior to 5.0.0 is installed (see Got 500 error when enabling 2FA.). The attached patch sets the minimum required version of ROTP gem.

$ ruby test/integration/twofa_test.rb
Run options: --seed 18716

# Running:

F

Failure:
TwofaTest#test_should_require_twofa_setup_when_required_for_administrators [test/integration/twofa_test.rb:51]:
Expected response to be a <3XX: redirect>, but was a <500: Internal Server Error>

rails test test/integration/twofa_test.rb:34

F

Failure:
TwofaTest#test_should_require_twofa_setup_when_required_by_group [test/integration/twofa_test.rb:76]:
Expected response to be a <3XX: redirect>, but was a <500: Internal Server Error>

rails test test/integration/twofa_test.rb:55

.
.
.


Files

rotp-version.patch (330 Bytes) rotp-version.patch Go MAEDA, 2022-03-18 00:34
Actions #1

Updated by Go MAEDA over 2 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the patch.

Actions #2

Updated by Go MAEDA over 2 years ago

  • Target version changed from 5.0.0 to 4.2.5
Actions

Also available in: Atom PDF