Added missing CORS headers and xhrFields
This commit is contained in:
		| @@ -43,6 +43,9 @@ console.log('CrossDomainLogin initiated'); | ||||
|                             XHR.push($.get({ | ||||
|                                 url: "https://auth." + domain + "/lucidAuth.setXDomainCookie.php", | ||||
|                                 crossDomain: true, | ||||
|                                 xhrFields: { | ||||
|                                     withCredentials: true, | ||||
|                                 }, | ||||
|                                 data: { | ||||
|                                     ref: btoa(JSON.stringify({ | ||||
|                                         action: 'login', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user