Renamed file to reflect actual purpose

This commit is contained in:
Danny Bessems 2019-06-19 10:37:20 +00:00
parent 5a2d3313e7
commit 21f272e9f0
3 changed files with 1 additions and 11 deletions

View File

@ -1,10 +0,0 @@
$(document).ready(function(){
$.post("lucidAuth.setXDomainCookie.php", {
do: "login",
ref: $('#ref').val()
})
.done(function(data,_status) {
if (data.Result === 'Success') {
}
});
});

View File

@ -41,7 +41,7 @@ console.log('CrossDomainLogin initiated');
var XHR = []; var XHR = [];
cookieDomains.forEach(function(domain) { cookieDomains.forEach(function(domain) {
XHR.push($.get({ XHR.push($.get({
url: "https://auth." + domain + "/lucidAuth.setXDomainCookie.php", url: "https://auth." + domain + "/lucidAuth.requestCookie.php",
crossDomain: true, crossDomain: true,
xhrFields: { xhrFields: {
withCredentials: true, withCredentials: true,