From 9acdb166e8871632f592bfcd2386dfc288d81a07 Mon Sep 17 00:00:00 2001 From: Eugen Date: Sat, 8 Apr 2017 22:20:08 +0200 Subject: Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled (#1278) * Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled TOTP secret is not shown again after 2FA is enabled * Clean up --- app/models/form/two_factor_confirmation.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 app/models/form/two_factor_confirmation.rb (limited to 'app/models/form') diff --git a/app/models/form/two_factor_confirmation.rb b/app/models/form/two_factor_confirmation.rb new file mode 100644 index 000000000..b8cf76d05 --- /dev/null +++ b/app/models/form/two_factor_confirmation.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +class Form::TwoFactorConfirmation + include ActiveModel::Model + + attr_accessor :code +end -- cgit