diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-18 02:48:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-18 02:48:40 +0200 |
commit | a4b60e9ba4874b9ab427bec41d8b2cd252ec4782 (patch) | |
tree | 81eb8efab6523e8ac3b713feed1b5d4e90b6d77b /app/views/settings/two_factor_authentication | |
parent | 3919571c3958f7808a7830b7d19d1605fc7c0ef9 (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/views/settings/two_factor_authentication')
-rw-r--r-- | app/views/settings/two_factor_authentication/confirmations/new.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/settings/two_factor_authentication/confirmations/new.html.haml b/app/views/settings/two_factor_authentication/confirmations/new.html.haml index e64155299..86cf1f695 100644 --- a/app/views/settings/two_factor_authentication/confirmations/new.html.haml +++ b/app/views/settings/two_factor_authentication/confirmations/new.html.haml @@ -12,7 +12,7 @@ %samp.qr-alternative__code= current_user.otp_secret.scan(/.{4}/).join(' ') .fields-group - = f.input :code, wrapper: :with_label, hint: t('two_factor_authentication.code_hint'), label: t('simple_form.labels.defaults.otp_attempt'), input_html: { :autocomplete => 'off' }, required: true + = f.input :otp_attempt, wrapper: :with_label, hint: t('two_factor_authentication.code_hint'), label: t('simple_form.labels.defaults.otp_attempt'), input_html: { :autocomplete => 'off' }, required: true .actions = f.button :button, t('two_factor_authentication.enable'), type: :submit |