{"id":691,"date":"2026-08-25T23:17:15","date_gmt":"2026-08-25T23:17:15","guid":{"rendered":"https:\/\/bajanautos.com\/services\/?page_id=691"},"modified":"2026-08-25T23:17:55","modified_gmt":"2026-08-25T23:17:55","slug":"forgot-password","status":"publish","type":"page","link":"https:\/\/bajanautos.com\/services\/forgot-password\/","title":{"rendered":"Forgot-Password"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"691\" class=\"elementor elementor-691\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-0566f37 e-flex e-con-boxed e-con e-parent\" data-id=\"0566f37\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;jet_parallax_layout_list&quot;:[]}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f90b592 elementor-widget elementor-widget-shortcode\" data-id=\"f90b592\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">        <div class=\"ba-mrm\"><div class=\"ba-box\">\n        <h2>Forgot Password<\/h2><div id=\"ba-forgot-msg\" class=\"ba-msg\"><\/div>\n        <form id=\"ba-forgot-form\"><input type=\"hidden\" name=\"action\" value=\"ba_forgot\"><input type=\"hidden\" id=\"ba_nonce\" name=\"ba_nonce\" value=\"d5d6ac0752\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/services\/wp-json\/wp\/v2\/pages\/691\" \/>        <div class=\"ba-field\"><label>Email<\/label><input type=\"email\" name=\"email\" required><\/div>\n        <button class=\"ba-btn ba-primary\" type=\"submit\">SEND RESET LINK<\/button><\/form>\n        <\/div><\/div>\n                <script>\n        (function(){\n            const f=document.getElementById('ba-forgot-form');\n            const m=document.getElementById('ba-forgot-msg');\n            if(!f)return;\n            f.addEventListener('submit',function(e){\n                e.preventDefault();\n                if(f.id==='ba-request-form'){\n                    const details=f.querySelector('[name=\"vehicle_details\"]');\n                    if(details && details.value.length>600){ m.className='ba-msg ba-error'; m.textContent='Vehicle Details cannot be more than 600 characters.'; return; }\n                    const files=[];\n                    const main=f.querySelector('[name=\"main_image\"]');\n                    if(main && main.files.length) files.push(main.files[0]);\n                    const gallery=f.querySelector('[name=\"photos[]\"]');\n                    if(gallery) Array.from(gallery.files).forEach(x=>files.push(x));\n                    if(files.length > 4){ m.className='ba-msg ba-error'; m.textContent='You can upload a maximum of 3 additional photos plus 1 featured image.'; return; }\n                    for(const file of files){\n                        if(!['image\/jpeg','image\/png'].includes(file.type)){ m.className='ba-msg ba-error'; m.textContent='Images must be JPG or PNG files only.'; return; }\n                        if(file.size > 3*1024*1024){ m.className='ba-msg ba-error'; m.textContent='The file \u201c'+file.name+'\u201d is too big. Maximum size is 3MB per file.'; return; }\n                    }\n                    if(gallery && gallery.files.length>3){ m.className='ba-msg ba-error'; m.textContent='You can upload a maximum of 3 additional photos.'; return; }\n                }\n                const b=f.querySelector('button[type=\"submit\"]');\n                if(b)b.disabled=true;\n                fetch('https:\/\/bajanautos.com\/services\/wp-admin\/admin-ajax.php',{method:'POST',credentials:'same-origin',body:new FormData(f)})\n                .then(r=>r.json()).then(x=>{\n                    m.className='ba-msg '+(x.success?'ba-success':'ba-error');\n                    m.textContent=x.data?.message||'Please try again.';\n                    if(x.success&&x.data?.redirect) location.href=x.data.redirect;\n                    else if(b)b.disabled=false;\n                }).catch(()=>{\n                    m.className='ba-msg ba-error';m.textContent='An error occurred. Please try again.';\n                    if(b)b.disabled=false;\n                });\n            });\n        })();\n        <\/script>\n        <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_kad_post_transparent":"","_kad_post_title":"hide","_kad_post_layout":"fullwidth","_kad_post_sidebar_id":"","_kad_post_content_style":"unboxed","_kad_post_vertical_padding":"hide","_kad_post_feature":"hide","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","iawp_total_views":0,"footnotes":""},"class_list":["post-691","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/bajanautos.com\/services\/wp-json\/wp\/v2\/pages\/691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bajanautos.com\/services\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bajanautos.com\/services\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bajanautos.com\/services\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bajanautos.com\/services\/wp-json\/wp\/v2\/comments?post=691"}],"version-history":[{"count":5,"href":"https:\/\/bajanautos.com\/services\/wp-json\/wp\/v2\/pages\/691\/revisions"}],"predecessor-version":[{"id":1046,"href":"https:\/\/bajanautos.com\/services\/wp-json\/wp\/v2\/pages\/691\/revisions\/1046"}],"wp:attachment":[{"href":"https:\/\/bajanautos.com\/services\/wp-json\/wp\/v2\/media?parent=691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}