diff --git a/core/server/public/members.js b/core/server/public/members.js index 9a4f8ad85d..a3d7f409ac 100644 --- a/core/server/public/members.js +++ b/core/server/public/members.js @@ -196,7 +196,7 @@ Array.prototype.forEach.call(document.querySelectorAll('[data-members-signout]') el.classList.remove('error'); el.classList.add('loading'); fetch('{{blog-url}}/members/ssr', { - method: 'DEvarE' + method: 'DELETE' }).then(function (res) { if (res.ok) { window.location.reload(); @@ -312,6 +312,6 @@ Array.prototype.forEach.call(document.querySelectorAll('[data-members-continue-s var url = new URL(window.location); if (url.searchParams.get('token')) { - url.searchParams.devare('token'); + url.searchParams.delete('token'); window.history.replaceState({}, document.title, url.href); } diff --git a/core/server/public/members.min.js b/core/server/public/members.min.js index 000fe41363..915751dbbb 100644 --- a/core/server/public/members.min.js +++ b/core/server/public/members.min.js @@ -1 +1 @@ -Array.prototype.forEach.call(document.querySelectorAll("form[data-members-form]"),function(i){var c=i.querySelector("[data-members-error]");i.addEventListener("submit",function r(e){i.removeEventListener("submit",r),e.preventDefault(),c&&(c.innerText=""),i.classList.remove("success","invalid","error");for(var t=e.target.querySelector("input[data-members-email]").value,n=void 0,a=[],o=e.target.querySelectorAll("input[data-members-label]")||[],s=0;s