{"id":8,"date":"2026-11-01T15:55:03","date_gmt":"2026-11-01T15:55:03","guid":{"rendered":"https:\/\/mitabon.co\/nl\/contabai-forgot-password\/"},"modified":"2026-11-01T15:55:03","modified_gmt":"2026-11-01T15:55:03","slug":"contabai-forgot-password","status":"publish","type":"page","link":"https:\/\/mitabon.co\/nl\/contabai-forgot-password\/","title":{"rendered":"Forgot Password"},"content":{"rendered":"<div class=\"mx-auto w-full max-w-md\" x-data=\"contabaiForgotPasswordForm()\">\n    <div class=\"rounded-2xl border border-neutral-200 bg-white p-8\">\n        <h1 class=\"mb-2 text-2xl font-bold text-neutral-900\">Wachtwoord vergeten<\/h1>\n        <p class=\"mb-6 text-sm text-neutral-500\">Vul je gebruikersnaam in en we mailen je een resetlink.<\/p>\n        <form class=\"space-y-4\" x-on:submit.prevent=\"submit()\">\n            <div>\n                <label class=\"mb-1 block text-sm font-medium text-neutral-700\">Gebruikersnaam<\/label>\n                <input type=\"text\" x-model=\"username\" required\n                       class=\"flex h-10 w-full rounded-md border border-neutral-300 bg-white px-3 py-2 text-sm placeholder:text-neutral-400 focus:outline-none focus:ring-2 focus:ring-neutral-400 focus:ring-offset-2\">\n            <\/div>\n            <button type=\"submit\" x-bind:disabled=\"loading || cooldown > 0\"\n                    class=\"inline-flex h-10 w-full items-center justify-center gap-2 rounded-md border border-neutral-300 bg-white px-4 py-2 text-sm font-medium text-neutral-800 transition hover:bg-neutral-50 disabled:opacity-50\">\n                <svg class=\"w-4 h-4\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n  <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5\"\/>\n<\/svg>\n                <span x-show=\"!loading && cooldown === 0\">Resetlink versturen<\/span>\n                <span x-show=\"loading\">Versturen...<\/span>\n                <span x-show=\"!loading && cooldown > 0\">Opnieuw versturen over <span x-text=\"cooldown\"><\/span>s<\/span>\n            <\/button>\n        <\/form>\n        <div class=\"mt-6 flex flex-wrap items-center justify-center gap-x-4 gap-y-2 text-center text-sm\">\n            <a href=\"https:\/\/mitabon.co\/nl\/contabai-login\" class=\"text-neutral-500 no-underline transition hover:text-neutral-900\">Terug naar inloggen<\/a>\n            <a href=\"https:\/\/mitabon.co\/nl\" class=\"text-neutral-500 no-underline transition hover:text-neutral-900\">Terug naar site<\/a>\n        <\/div>\n    <\/div>\n<\/div>\n<script>\ndocument.addEventListener('alpine:init', function () {\n    Alpine.data('contabaiForgotPasswordForm', function () {\n        return {\n            username: '',\n            loading: false,\n            cooldown: 0,\n            startCooldown: function () {\n                let self = this;\n                self.cooldown = 60;\n                let id = setInterval(function () {\n                    self.cooldown = self.cooldown - 1;\n                    if (self.cooldown <= 0) { clearInterval(id); }\n                }, 1000);\n            },\n            submit: function () {\n                let self = this;\n                if (!self.username || self.cooldown > 0) return;\n                self.loading = true;\n                fetch('https:\/\/mitabon.co\/nl\/wp-json\/contabai\/v1\/sanctum\/guest\/forgot-password', {\n                    method: 'POST',\n                    headers: { 'Content-Type': 'application\/json' },\n                    credentials: 'same-origin',\n                    body: JSON.stringify({ username: self.username })\n                })\n                .then(function (r) { return r.json().then(function (data) { return { ok: r.ok, status: r.status, data: data }; }); })\n                .then(function (result) {\n                    self.loading = false;\n                    if (result.ok) {\n                        contabaiToast('Als er een account bestaat, is er een resetlink verstuurd.', 'success');\n                        self.startCooldown();\n                    } else if (result.status === 422) {\n                        contabaiToast('Vul je gebruikersnaam in.', 'danger');\n                    } else {\n                        contabaiToast(contabaiStatusText(result.status), 'danger');\n                    }\n                })\n                .catch(function () {\n                    self.loading = false;\n                    contabaiToast('Verbindingsfout.', 'danger');\n                });\n            }\n        };\n    });\n});\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-contabai-session-and-hub.php","meta":{"footnotes":""},"class_list":["post-8","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Forgot Password - Mitabon<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mitabon.co\/nl\/contabai-forgot-password\/\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Forgot Password - Mitabon\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mitabon.co\/nl\/contabai-forgot-password\/\" \/>\n<meta property=\"og:site_name\" content=\"Mitabon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mitabon.co\\\/nl\\\/contabai-forgot-password\\\/\",\"url\":\"https:\\\/\\\/mitabon.co\\\/nl\\\/contabai-forgot-password\\\/\",\"name\":\"Forgot Password - Mitabon\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mitabon.co\\\/nl\\\/#website\"},\"datePublished\":\"2026-11-01T15:55:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mitabon.co\\\/nl\\\/contabai-forgot-password\\\/#breadcrumb\"},\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mitabon.co\\\/nl\\\/contabai-forgot-password\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mitabon.co\\\/nl\\\/contabai-forgot-password\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mitabon.co\\\/nl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Forgot Password\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mitabon.co\\\/nl\\\/#website\",\"url\":\"https:\\\/\\\/mitabon.co\\\/nl\\\/\",\"name\":\"Mitabon\",\"description\":\"Vakantiehuizen, direct geboekt\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mitabon.co\\\/nl\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"nl-NL\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Forgot Password - Mitabon","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mitabon.co\/nl\/contabai-forgot-password\/","og_locale":"nl_NL","og_type":"article","og_title":"Forgot Password - Mitabon","og_url":"https:\/\/mitabon.co\/nl\/contabai-forgot-password\/","og_site_name":"Mitabon","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mitabon.co\/nl\/contabai-forgot-password\/","url":"https:\/\/mitabon.co\/nl\/contabai-forgot-password\/","name":"Forgot Password - Mitabon","isPartOf":{"@id":"https:\/\/mitabon.co\/nl\/#website"},"datePublished":"2026-11-01T15:55:03+00:00","breadcrumb":{"@id":"https:\/\/mitabon.co\/nl\/contabai-forgot-password\/#breadcrumb"},"inLanguage":"nl-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mitabon.co\/nl\/contabai-forgot-password\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/mitabon.co\/nl\/contabai-forgot-password\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mitabon.co\/nl\/"},{"@type":"ListItem","position":2,"name":"Forgot Password"}]},{"@type":"WebSite","@id":"https:\/\/mitabon.co\/nl\/#website","url":"https:\/\/mitabon.co\/nl\/","name":"Mitabon","description":"Vakantiehuizen, direct geboekt","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mitabon.co\/nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"nl-NL"}]}},"_links":{"self":[{"href":"https:\/\/mitabon.co\/nl\/wp-json\/wp\/v2\/pages\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mitabon.co\/nl\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mitabon.co\/nl\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mitabon.co\/nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mitabon.co\/nl\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":0,"href":"https:\/\/mitabon.co\/nl\/wp-json\/wp\/v2\/pages\/8\/revisions"}],"wp:attachment":[{"href":"https:\/\/mitabon.co\/nl\/wp-json\/wp\/v2\/media?parent=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}