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 {
return [
401,
[
'WWW-Authenticate' => "SSO " . $self->conf->{portal},
'Access-Control-Allow-Origin' => '*'
'WWW-Authenticate' => "SSO " . $self->conf->{portal}
],
[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