{"id":8223,"date":"2025-10-31T12:12:38","date_gmt":"2025-10-31T11:12:38","guid":{"rendered":"https:\/\/villahub.eu\/recuperar-contrasena-2\/"},"modified":"2025-11-17T13:46:18","modified_gmt":"2025-11-17T12:46:18","slug":"recuperar-contrasena","status":"publish","type":"page","link":"https:\/\/villahub.eu\/en\/recuperar-contrasena\/","title":{"rendered":"Recover password"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"8223\" class=\"elementor elementor-8223 elementor-8177\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6b9df85 e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-parent\" data-id=\"6b9df85\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-4715580 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-child\" data-id=\"4715580\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-30f3063 elementor-widget elementor-widget-heading\" data-id=\"30f3063\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Forgot your password?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-e47f82e e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-parent\" data-id=\"e47f82e\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-8d25e17 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-child\" data-id=\"8d25e17\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;xpro_backdrop_filter&quot;:&quot;yes&quot;}\">\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-59046a1 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-child\" data-id=\"59046a1\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-8375424 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-child\" data-id=\"8375424\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-23b9742 elementor-widget elementor-widget-heading\" data-id=\"23b9742\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Recover your Password<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-7a1bad7 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-child\" data-id=\"7a1bad7\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6674fa4 elementor-widget elementor-widget-shortcode\" data-id=\"6674fa4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><div class=\"tml tml-lostpassword\">\n<div class=\"tml-alerts\"><\/div><form name=\"lostpassword\" action=\"https:\/\/villahub.eu\/en\/recuperar-contrasena\/\" method=\"post\" data-ajax=\"1\">\n<div class=\"tml-field-wrap tml-message-wrap\">\n<p class=\"tml-message\">Please enter your username or email address. You will receive an email message with instructions on how to reset your password.<\/p><\/div>\n\n<div class=\"tml-field-wrap tml-user_login-wrap\">\n<label class=\"tml-label\" for=\"user_login\">Username or Email Address<\/label>\n<input name=\"user_login\" type=\"text\" value=\"\" id=\"user_login\" autocapitalize=\"off\" class=\"tml-field\">\n<\/div>\n\n\n<div class=\"tml-field-wrap tml-submit-wrap\">\n<button name=\"submit\" type=\"submit\" class=\"tml-button\">Get New Password<\/button>\n<\/div>\n\n<input name=\"redirect_to\" type=\"hidden\" value=\"\">\n\n<\/form>\n<ul class=\"tml-links\"><li class=\"tml-login-link\"><a href=\"https:\/\/villahub.eu\/en\/iniciar-sesion\/\">Log in<\/a><\/li><li class=\"tml-register-link\"><a href=\"https:\/\/villahub.eu\/en\/registro\/\">Register<\/a><\/li><\/ul><\/div>\n<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-cb61b64 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-child\" data-id=\"cb61b64\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-1693c5c e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-parent\" data-id=\"1693c5c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-893892b elementor-widget elementor-widget-html\" data-id=\"893892b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script>\nfunction removeEmptyTextNodes(element) {\n  \/\/ Recorre todos los nodos hijos\n  Array.from(element.childNodes).forEach(node => {\n    \/\/ Si es un nodo de texto y est\u00e1 vac\u00edo o solo contiene espacios\n    if (node.nodeType === Node.TEXT_NODE && !\/\\S\/.test(node.nodeValue)) {\n      node.remove();\n    } \n    \/\/ Si es un nodo de elemento, llama recursivamente\n    else if (node.nodeType === Node.ELEMENT_NODE) {\n      removeEmptyTextNodes(node);\n    }\n  });\n}\n\n\/\/ Uso: eliminar nodos vac\u00edos dentro del body\nremoveEmptyTextNodes(document.body);\n\n<\/script>\n<!-- Cambio de URL del enlace de la opci\u00f3n 'Iniciar Sesi\u00f3n' -->\n<script>\n   const link = document.querySelector('.youzify-membership-link-button');\n   if (link) link.href = 'https:\/\/villahub.eu\/en\/iniciar-sesion\/';\n<\/script>\n\n<div id=\"youzify-custom-message-box\"><\/div>\n\n<script>\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n    const params = new URLSearchParams(window.location.search);\n    const messageBox = document.getElementById('youzify-custom-message-box');\n    \n    \/\/ Funci\u00f3n para mostrar el mensaje\n    const displayMessage = (message, type) => {\n        messageBox.innerHTML = `\n            <div style=\"\n                border: 2px solid ${type === 'success' ? '#4CAF50' : '#f44336'};\n                padding: 15px;\n                margin-bottom: 20px;\n                border-radius: 5px;\n                background-color: ${type === 'success' ? '#e8f5e9' : '#ffebee'};\n                color: ${type === 'success' ? '#2e7d32' : '#c62828'};\n            \">\n                <strong>${type === 'success' ? 'Success!' : 'Error:'}<\/strong> ${message}\n            <\/div>\n        `;\n    };\n\n    \/\/ --- L\u00d3GICA DE VISUALIZACI\u00d3N ---\n    if (params.has('checkemail') && params.get('checkemail') === 'confirm') {\n        \/\/ Muestra el mensaje de \u00e9xito (que Youzify deber\u00eda mostrar)\n        displayMessage(\"We have sent you an email with the link to reset your password.\", 'success');\n        \n    } else if (params.has('error') && params.get('error') === 'ajax-failed-security') {\n        \/\/ Muestra el error de seguridad\/AJAX\n        displayMessage(\"Security check failed. Please refresh the page and try again. If the issue persists, the recovery action is incorrect.\", 'error');\n        \n    } else {\n        \/\/ Asegura que el formulario se muestre si no hay par\u00e1metros\n        messageBox.style.display = 'none';\n    }\n});\n<\/script>\t\t\t\t<\/div>\n\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":"<p>Forgot your password? Recover your Password<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-8223","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/villahub.eu\/en\/wp-json\/wp\/v2\/pages\/8223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/villahub.eu\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/villahub.eu\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/villahub.eu\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/villahub.eu\/en\/wp-json\/wp\/v2\/comments?post=8223"}],"version-history":[{"count":51,"href":"https:\/\/villahub.eu\/en\/wp-json\/wp\/v2\/pages\/8223\/revisions"}],"predecessor-version":[{"id":9607,"href":"https:\/\/villahub.eu\/en\/wp-json\/wp\/v2\/pages\/8223\/revisions\/9607"}],"wp:attachment":[{"href":"https:\/\/villahub.eu\/en\/wp-json\/wp\/v2\/media?parent=8223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}