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
|
@ -16,8 +16,6 @@ class Auth::SessionsController < Devise::SessionsController
|
|||
|
||||
include Auth::TwoFactorAuthenticationConcern
|
||||
|
||||
before_action :set_body_classes
|
||||
|
||||
content_security_policy only: :new do |p|
|
||||
p.form_action(false)
|
||||
end
|
||||
|
@ -103,10 +101,6 @@ class Auth::SessionsController < Devise::SessionsController
|
|||
|
||||
private
|
||||
|
||||
def set_body_classes
|
||||
@body_classes = 'lighter'
|
||||
end
|
||||
|
||||
def home_paths(resource)
|
||||
paths = [about_path, '/explore']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue