about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-09-18 02:48:40 +0200
committerGitHub <noreply@github.com>2019-09-18 02:48:40 +0200
commita4b60e9ba4874b9ab427bec41d8b2cd252ec4782 (patch)
tree81eb8efab6523e8ac3b713feed1b5d4e90b6d77b /app/models
parent3919571c3958f7808a7830b7d19d1605fc7c0ef9 (diff)
Fix TOTP codes not being filtered from logs during enabling/disabling (#11877)
Not a serious issue because they are meaningless past single use
Diffstat (limited to 'app/models')
-rw-r--r--app/models/form/two_factor_confirmation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/form/two_factor_confirmation.rb b/app/models/form/two_factor_confirmation.rb
index b8cf76d05..27ada6533 100644
--- a/app/models/form/two_factor_confirmation.rb
+++ b/app/models/form/two_factor_confirmation.rb
@@ -3,5 +3,5 @@
 class Form::TwoFactorConfirmation
   include ActiveModel::Model
 
-  attr_accessor :code
+  attr_accessor :otp_attempt
 end