* Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled TOTP secret is not shown again after 2FA is enabled * Clean up
This commit is contained in:
parent
470eb0042e
commit
9acdb166e8
8 changed files with 88 additions and 28 deletions
7
app/models/form/two_factor_confirmation.rb
Normal file
7
app/models/form/two_factor_confirmation.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Form::TwoFactorConfirmation
|
||||
include ActiveModel::Model
|
||||
|
||||
attr_accessor :code
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue