diff --git a/public/lucidAuth.setXDomainCookie.php b/public/lucidAuth.requestCookie.php similarity index 100% rename from public/lucidAuth.setXDomainCookie.php rename to public/lucidAuth.requestCookie.php diff --git a/public/misc/script.iframe.js b/public/misc/script.iframe.js deleted file mode 100644 index d6bfb93..0000000 --- a/public/misc/script.iframe.js +++ /dev/null @@ -1,10 +0,0 @@ -$(document).ready(function(){ - $.post("lucidAuth.setXDomainCookie.php", { - do: "login", - ref: $('#ref').val() - }) - .done(function(data,_status) { - if (data.Result === 'Success') { - } - }); -}); \ No newline at end of file diff --git a/public/misc/script.index.js b/public/misc/script.index.js index effe79c..5f555d7 100644 --- a/public/misc/script.index.js +++ b/public/misc/script.index.js @@ -41,7 +41,7 @@ console.log('CrossDomainLogin initiated'); var XHR = []; cookieDomains.forEach(function(domain) { XHR.push($.get({ - url: "https://auth." + domain + "/lucidAuth.setXDomainCookie.php", + url: "https://auth." + domain + "/lucidAuth.requestCookie.php", crossDomain: true, xhrFields: { withCredentials: true,