Do not set -Access-Control-Allow-Origin header when answering Ajax call (#1519)
This commit is contained in:
parent
66313e486a
commit
e269d75789
|
@ -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}']
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue
Block a user