{"id":121,"date":"2026-03-30T14:10:15","date_gmt":"2026-03-30T18:10:15","guid":{"rendered":"https:\/\/calusacruiseclub.com\/?page_id=121"},"modified":"2026-03-30T16:16:05","modified_gmt":"2026-03-30T20:16:05","slug":"member-login","status":"publish","type":"page","link":"https:\/\/calusacruiseclub.com\/index.php\/member-login\/","title":{"rendered":"Member Login"},"content":{"rendered":"\t<div class=\"calusa-member-login-wrap\" style=\"max-width:460px;margin:30px auto;padding:20px;border:1px solid #d7dee6;border-radius:12px;background:#f8fbfd;\">\n\t\t<h2 style=\"margin-top:0;\">Member Login<\/h2>\n\t\t<p style=\"font-size:12px;color:#555;\">Version 2.4<\/p>\n\t\t<p>Please sign in with your Calusa Cruise Club email address.<\/p>\n\n\t\t\n\t\t<form method=\"post\" id=\"calusa-member-login-form\">\n\t\t\t<input type=\"hidden\" id=\"calusa_ext_login_nonce\" name=\"calusa_ext_login_nonce\" value=\"49e02d7c14\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/index.php\/wp-json\/wp\/v2\/pages\/121\" \/>\n\t\t\t<p>\n\t\t\t\t<label for=\"calusa_identifier\"><strong>Email Address<\/strong><\/label><br>\n\t\t\t\t<input type=\"email\" id=\"calusa_identifier\" name=\"calusa_identifier\" required style=\"width:100%;padding:10px;margin-top:6px;\" value=\"\">\n\t\t\t<\/p>\n\n\t\t\t<p id=\"calusa-login-name-section\" style=\"display:none;\">\n\t\t\t\t<label for=\"calusa_login_name\"><strong>Login Name<\/strong><\/label><br>\n\t\t\t\t<input type=\"text\" id=\"calusa_login_name\" name=\"calusa_login_name\" style=\"width:100%;padding:10px;margin-top:6px;\" value=\"\">\n\t\t\t\t<span style=\"font-size:12px;color:#555;\">More than one active member uses this email address. Enter your individual Login Name.<\/span>\n\t\t\t<\/p>\n\n\t\t\t<p>\n\t\t\t\t<label for=\"calusa_password\"><strong>Password<\/strong><\/label><br>\n\t\t\t\t<input type=\"password\" id=\"calusa_password\" name=\"calusa_password\" style=\"width:100%;padding:10px;margin-top:6px;\">\n\t\t\t<\/p>\n\n\t\t\t<input type=\"hidden\" name=\"redirect_to\" value=\"\">\n\n\t\t\t<p style=\"margin-bottom:0;display:flex;gap:10px;flex-wrap:wrap;align-items:center;\">\n\t\t\t\t<button type=\"submit\" name=\"calusa_ext_login_submit\" value=\"1\" style=\"padding:10px 18px;border:none;border-radius:8px;background:#0b5ea8;color:#fff;cursor:pointer;\">\n\t\t\t\t\tMember Login\n\t\t\t\t<\/button>\n\t\t\t\t<button type=\"submit\" name=\"calusa_forgot_password_submit\" id=\"calusa_forgot_password_submit\" value=\"1\" disabled style=\"padding:10px 18px;border:none;border-radius:8px;background:#999;color:#fff;cursor:not-allowed;\">\n\t\t\t\t\tForgot Password\n\t\t\t\t<\/button>\n\t\t\t<\/p>\n\t\t<\/form>\n\t<\/div>\n\n\t<script>\n\t(function() {\n\t\tvar identifier = document.getElementById('calusa_identifier');\n\t\tvar loginName = document.getElementById('calusa_login_name');\n\t\tvar nameSection = document.getElementById('calusa-login-name-section');\n\t\tvar forgotButton = document.getElementById('calusa_forgot_password_submit');\n\t\tvar endpoint = \"https:\\\/\\\/calusacruiseclub.com\\\/wp-admin\\\/admin-ajax.php\";\n\t\tvar nonce = \"82e210cc06\";\n\t\tvar lastRequest = 0;\n\t\tvar debounce = null;\n\t\tvar previousEmail = '';\n\t\tvar controller = null;\n\n\t\tfunction validEmail(value) {\n\t\t\treturn \/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/.test(value);\n\t\t}\n\t\tfunction showNameField(show) {\n\t\t\tnameSection.style.display = show ? '' : 'none';\n\t\t\tloginName.required = show;\n\t\t\tif (!show) loginName.value = '';\n\t\t}\n\t\tfunction updateForgotButton() {\n\t\t\tvar ok = validEmail(identifier.value.trim());\n\t\t\tforgotButton.disabled = !ok;\n\t\t\tforgotButton.style.background = ok ? '#555' : '#999';\n\t\t\tforgotButton.style.cursor = ok ? 'pointer' : 'not-allowed';\n\t\t}\n\t\tfunction checkEmail() {\n\t\t\tvar email = identifier.value.trim().toLowerCase();\n\t\t\tvar requestId = ++lastRequest;\n\t\t\tif (controller) controller.abort();\n\t\t\tif (!validEmail(email)) { previousEmail = ''; showNameField(false); return; }\n\t\t\tif (email === previousEmail) return;\n\t\t\tpreviousEmail = email;\n\t\t\tcontroller = new AbortController();\n\t\t\tvar body = new URLSearchParams({action:'calusa_ext_login_email_shared',nonce:nonce,email:email});\n\t\t\tfetch(endpoint, {method:'POST',credentials:'same-origin',headers:{'Content-Type':'application\/x-www-form-urlencoded;charset=UTF-8'},body:body.toString(),signal:controller.signal})\n\t\t\t\t.then(function(response){if (!response.ok) throw new Error('Email check failed');return response.json();})\n\t\t\t\t.then(function(data){if (requestId !== lastRequest) return; if (!data.success) throw new Error('Email check failed');showNameField(!!data.data.shared);})\n\t\t\t\t.catch(function(err){if (requestId !== lastRequest || err.name === 'AbortError') return; previousEmail = ''; showNameField(true); loginName.required = false;});\n\t\t}\n\t\tidentifier.addEventListener('input', function() {\n\t\t\tupdateForgotButton();\n\t\t\tclearTimeout(debounce);\n\t\t\tvar email = identifier.value.trim().toLowerCase();\n\t\t\tif (!validEmail(email)) { lastRequest++; if (controller) controller.abort(); previousEmail = ''; showNameField(false); return; }\n\t\t\tif (email !== previousEmail) { showNameField(false); debounce = setTimeout(checkEmail, 350); }\n\t\t});\n\t\tidentifier.addEventListener('blur', function(){clearTimeout(debounce);checkEmail();});\n\t\tupdateForgotButton();\n\t\tcheckEmail();\n\t})();\n\t<\/script>\n\t\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-121","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/calusacruiseclub.com\/index.php\/wp-json\/wp\/v2\/pages\/121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/calusacruiseclub.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/calusacruiseclub.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/calusacruiseclub.com\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/calusacruiseclub.com\/index.php\/wp-json\/wp\/v2\/comments?post=121"}],"version-history":[{"count":3,"href":"https:\/\/calusacruiseclub.com\/index.php\/wp-json\/wp\/v2\/pages\/121\/revisions"}],"predecessor-version":[{"id":125,"href":"https:\/\/calusacruiseclub.com\/index.php\/wp-json\/wp\/v2\/pages\/121\/revisions\/125"}],"wp:attachment":[{"href":"https:\/\/calusacruiseclub.com\/index.php\/wp-json\/wp\/v2\/media?parent=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}