Commit 22438399412317625de6debe4e861438fa765dc5

Authored by Weblate
2 parents 07894742 3f5e3976

Merge remote-tracking branch 'origin/master'

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/controllers/application_controller.rb
... ... @@ -28,6 +28,7 @@ class ApplicationController < ActionController::Base
28 28 unless environment.access_control_allow_methods.blank?
29 29 response.headers["Access-Control-Allow-Methods"] = environment.access_control_allow_methods
30 30 end
  31 + response.headers["Access-Control-Allow-Credentials"] = 'true'
31 32 elsif environment.restrict_to_access_control_origins
32 33 render_access_denied _('Origin not in allowed.')
33 34 end
... ...