Fix Naming/AccessorMethodName cop (#25924)

This commit is contained in:
Matt Jankowski
2023-07-12 04:03:19 -04:00
committed by GitHub
parent b8b2470cf8
commit 5134fc65e2
3 changed files with 2 additions and 6 deletions

View File

@ -75,7 +75,7 @@ module TwoFactorAuthenticationConcern
end
def prompt_for_two_factor(user)
set_attempt_session(user)
register_attempt_in_session(user)
@body_classes = 'lighter'
@webauthn_enabled = user.webauthn_enabled?