2
0

Fix haml-lint InstanceVariables rule for auth/sessions/two_factor/o… (#27372)

This commit is contained in:
Matt Jankowski
2023-10-12 03:44:20 -04:00
committed by GitHub
parent 85b36fbbd3
commit d4c2dca874
4 changed files with 10 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
= javascript_pack_tag 'two_factor_authentication', crossorigin: 'anonymous'
- if @webauthn_enabled
- if webauthn_enabled?
= render partial: 'auth/sessions/two_factor/webauthn_form', locals: { hidden: @scheme_type != 'webauthn' }
= render partial: 'auth/sessions/two_factor/otp_authentication_form', locals: { hidden: @scheme_type != 'totp' }