diff options
author | Eugen <eugen@zeonfederated.com> | 2017-04-08 22:20:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-08 22:20:08 +0200 |
commit | 9acdb166e8871632f592bfcd2386dfc288d81a07 (patch) | |
tree | 3ab00999fc01fee2146c70aef2016dbf29939196 /app/models | |
parent | 470eb0042ea99e0632ccc62a0b7c01e910f70491 (diff) |
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
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/form/two_factor_confirmation.rb | 7 |
1 files changed, 7 insertions, 0 deletions
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 |