Fix contrast between background and form elements on some pages (#31266)
This commit is contained in:
@@ -5,7 +5,6 @@ class Auth::ConfirmationsController < Devise::ConfirmationsController
|
||||
|
||||
layout 'auth'
|
||||
|
||||
before_action :set_body_classes
|
||||
before_action :set_confirmation_user!, only: [:show, :confirm_captcha]
|
||||
before_action :redirect_confirmed_user, if: :signed_in_confirmed_user?
|
||||
|
||||
@@ -73,10 +72,6 @@ class Auth::ConfirmationsController < Devise::ConfirmationsController
|
||||
user_signed_in? && current_user.confirmed? && current_user.unconfirmed_email.blank?
|
||||
end
|
||||
|
||||
def set_body_classes
|
||||
@body_classes = 'lighter'
|
||||
end
|
||||
|
||||
def after_resending_confirmation_instructions_path_for(_resource_name)
|
||||
if user_signed_in?
|
||||
if current_user.confirmed? && current_user.approved?
|
||||
|
||||
Reference in New Issue
Block a user