Commit e269d757 authored by Clément OUDOT's avatar Clément OUDOT

Do not set -Access-Control-Allow-Origin header when answering Ajax call (#1519)

parent 66313e48
...@@ -216,8 +216,7 @@ sub do { ...@@ -216,8 +216,7 @@ sub do {
return [ return [
401, 401,
[ [
'WWW-Authenticate' => "SSO " . $self->conf->{portal}, 'WWW-Authenticate' => "SSO " . $self->conf->{portal}
'Access-Control-Allow-Origin' => '*'
], ],
[qq'{"result":0,"error":$err}'] [qq'{"result":0,"error":$err}']
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment