{"id":444636,"date":"2020-07-20T20:54:40","date_gmt":"2020-07-20T18:54:40","guid":{"rendered":"https:\/\/www.rebo.nl\/my-account-forgot-password\/"},"modified":"2025-07-01T10:41:38","modified_gmt":"2025-07-01T08:41:38","slug":"lost-password","status":"publish","type":"page","link":"https:\/\/www.rebo.nl\/en\/lost-password\/","title":{"rendered":"My Account &#8211; lost password"},"content":{"rendered":"<div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-justify-content-center fusion-flex-content-wrap\" style=\"max-width:calc( 1170px + 0px );margin-left: calc(-0px \/ 2 );margin-right: calc(-0px \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_2 1_2 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:50%;--awb-margin-top-large:0px;--awb-spacing-right-large:0px;--awb-margin-bottom-large:0px;--awb-spacing-left-large:0px;--awb-width-medium:100%;--awb-spacing-right-medium:0px;--awb-spacing-left-medium:0px;--awb-width-small:100%;--awb-spacing-right-small:0px;--awb-spacing-left-small:0px;\"><div class=\"fusion-column-wrapper fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-title title fusion-title-1 fusion-sep-none fusion-title-text fusion-title-size-one\" style=\"--awb-margin-top-small:0px;--awb-margin-right-small:0px;--awb-margin-bottom-small:20px;--awb-margin-left-small:0px;--awb-font-size:14pt;\"><h1 class=\"fusion-title-heading title-heading-left\" style=\"margin:0;font-size:1em;\">Forgot your password? Set a new one below.<\/h1><\/div><div class=\"fusion-text fusion-text-1\">    <div id=\"custom-password-wrapper\">\n        <form method=\"post\" class=\"custom-password-form\" id=\"custom-password-email-form\">\n            <label for=\"user_login\">Email address:<\/label>\n            <input type=\"email\" name=\"user_login\" id=\"user_login\" required class=\"custom-password-input\" autocomplete=\"email\">\n            <button type=\"submit\" class=\"custom-password-button\">Request code<\/button>\n        <\/form>\n    <\/div>\n    <style>\n    .custom-password-spinner {\n        width: 24px;\n        height: 24px;\n        border: 3px solid #ccc;\n        border-top-color: #f76b20;\n        border-radius: 50%;\n        animation: spin 0.8s linear infinite;\n        margin: 20px auto;\n    }\n    @keyframes spin {\n        to { transform: rotate(360deg); }\n    }\n    <\/style>\n    <script>\n    document.addEventListener('DOMContentLoaded', function() {\n        const wrapper = document.getElementById('custom-password-wrapper');\n\n        wrapper.addEventListener('submit', function(e) {\n            if (!e.target.matches('form')) return;\n            e.preventDefault();\n\n            const form = e.target;\n            const formData = new FormData(form);\n            const step = form.id.replace('custom-password-', '').replace('-form', '');\n            formData.append('action', 'custom_password_process');\n            formData.append('nonce', 'ed69170dcf');\n            formData.append('step', step);\n\n            wrapper.innerHTML = '<div class=\"custom-password-spinner\"><\/div>';\n\n            fetch('https:\/\/www.rebo.nl\/wp-admin\/admin-ajax.php', {\n                method: 'POST',\n                body: formData\n            })\n            .then(response => response.json())\n            .then(data => {\n                wrapper.innerHTML = data.data;\n\n                const msg = wrapper.querySelector('.custom-password-message');\n                if (msg && !wrapper.querySelector('form')) {\n                    setTimeout(() => msg.remove(), 5000);\n                }\n\n                const spinner = wrapper.querySelector('#redirect-spinner');\n                const redirectTo = spinner?.dataset.redirect || \"https:\/\/www.rebo.nl\/mijn-account\";\n                if (spinner) {\n                    setTimeout(() => {\n                        window.location.href = redirectTo;\n                    }, 3000);\n                }\n            })\n            .catch(() => {\n                wrapper.innerHTML = '<p class=\"custom-password-message error\">Something went wrong with the connection. Please try again.<\/p>';\n            });\n        });\n    });\n    <\/script>\n    \n<\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_improvement_type_select":"improve_an_existing","_thumb_yes_seoaic":false,"_frame_yes_seoaic":false,"seoaic_generate_description":"","seoaic_improve_instructions_prompt":"","seoaic_rollback_content_improvement":"","seoaic_idea_thumbnail_generator":"","thumbnail_generated":false,"thumbnail_generate_prompt":"","seoaic_article_description":"","footnotes":""},"class_list":["post-444636","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.rebo.nl\/en\/wp-json\/wp\/v2\/pages\/444636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rebo.nl\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.rebo.nl\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.rebo.nl\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rebo.nl\/en\/wp-json\/wp\/v2\/comments?post=444636"}],"version-history":[{"count":0,"href":"https:\/\/www.rebo.nl\/en\/wp-json\/wp\/v2\/pages\/444636\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rebo.nl\/en\/wp-json\/wp\/v2\/media?parent=444636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}