Fix contrast between background and form elements on some pages (#31266)
This commit is contained in:
		
					parent
					
						
							
								cc453f2221
							
						
					
				
			
			
				commit
				
					
						2ec1181ee5
					
				
			
		
					 9 changed files with 1 additions and 37 deletions
				
			
		|  | @ -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? | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue