mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 00:38:27 +00:00
Fix contrast between background and form elements on some pages (#31266)
This commit is contained in:
@@ -83,7 +83,6 @@ module Auth::TwoFactorAuthenticationConcern
|
||||
def prompt_for_two_factor(user)
|
||||
register_attempt_in_session(user)
|
||||
|
||||
@body_classes = 'lighter'
|
||||
@webauthn_enabled = user.webauthn_enabled?
|
||||
@scheme_type = if user.webauthn_enabled? && user_params[:otp_attempt].blank?
|
||||
'webauthn'
|
||||
|
||||
Reference in New Issue
Block a user