{"id":16,"date":"2025-11-19T13:32:17","date_gmt":"2025-11-19T13:32:17","guid":{"rendered":"https:\/\/rawmantic.ro\/my-account\/"},"modified":"2026-02-26T08:15:35","modified_gmt":"2026-02-26T08:15:35","slug":"my-account","status":"publish","type":"page","link":"https:\/\/rawmantic.ro\/?page_id=16","title":{"rendered":"My account"},"content":{"rendered":"<div class=\"woocommerce\"><div class=\"woocommerce-notices-wrapper\"><\/div><div class=\"page-customer\">\n    <div class=\"container\">\n        <h1 style=\"display: none;\" class=\"page-customer__title\">Autentificare client<\/h1>\n        <div class=\"page-customer__wrap\">\n            <div class=\"page-customer__item\">\n                <h3 class=\"page-customer__subtitle\">Clien\u021bi \u00eenregistra\u021bi<\/h3>\n                <p class=\"page-customer__text\">Dac\u0103 ave\u021bi un cont, conecta\u021bi-v\u0103 cu adresa dvs. de e-mail.<\/p>\n                <div class=\"page-customer__form\">\n                    <form name=\"loginform\" id=\"loginform\" action=\"https:\/\/rawmantic.ro\/?gestione\" method=\"post\"><p class=\"login-username\">\n\t\t\t\t<label for=\"user_login\">Nume utilizator sau adres\u0103 email<\/label>\n\t\t\t\t<input type=\"text\" name=\"log\" id=\"user_login\" autocomplete=\"username\" class=\"input\" value=\"\" size=\"20\" \/>\n\t\t\t<\/p><p class=\"login-password\">\n\t\t\t\t<label for=\"user_pass\">Parol\u0103<\/label>\n\t\t\t\t<input type=\"password\" name=\"pwd\" id=\"user_pass\" autocomplete=\"current-password\" spellcheck=\"false\" class=\"input\" value=\"\" size=\"20\" \/>\n\t\t\t<\/p><p class=\"login-remember\"><label><input name=\"rememberme\" type=\"checkbox\" id=\"rememberme\" value=\"forever\" \/> \u021aine-m\u0103 minte<\/label><\/p><p class=\"login-submit\">\n\t\t\t\t<input type=\"submit\" name=\"wp-submit\" id=\"wp-submit\" class=\"button button-primary\" value=\"Autentificare\" \/>\n\t\t\t\t<input type=\"hidden\" name=\"redirect_to\" value=\"https:\/\/rawmantic.ro\/my-account\" \/>\n\t\t\t<\/p><\/form>                    <script>\n                        document.addEventListener('DOMContentLoaded', function() {\n                            \/\/ Fix the login form action URL to remove language prefix\n                            const loginForm = document.getElementById('loginform');\n                            if (loginForm) {\n                                const currentAction = loginForm.action;\n                                \/\/ Remove language prefixes (en\/, fr\/, de\/, etc.) and keep only \/gestione\n                                const fixedAction = currentAction.replace(\/\\\/(en|fr|de|es|it)\\\/gestione\/, '\/gestione');\n                                loginForm.action = fixedAction;\n                                console.log('Fixed login action from:', currentAction, 'to:', fixedAction);\n\n                                \/\/ Also fix the redirect_to hidden field to preserve current language\n                                const redirectField = loginForm.querySelector('input[name=\"redirect_to\"]');\n                                if (redirectField) {\n                                    \/\/ Get current page URL to maintain language context\n                                    const currentUrl = window.location.href;\n                                    \/\/ Remove any login parameters but keep the language\n                                    const cleanUrl = currentUrl.split('?')[0];\n                                    redirectField.value = cleanUrl;\n                                    console.log('Fixed redirect_to to:', cleanUrl);\n                                }\n                            }\n                        });\n                    <\/script>\n                    <div class=\"page-customer__reset-password\">\n                        <a href=\"https:\/\/rawmantic.ro\/?page_id=16&lost-password\">Ai uitat parola?<\/a>\n                    <\/div>\n                <\/div>\n            <\/div>\n            <div class=\"page-customer__item\">\n                <h3 class=\"page-customer__subtitle\">Clien\u021bi noi<\/h3>\n                <p class=\"page-customer__text\">Crearea unui cont are multe beneficii: finalizarea comenzii mai rapid, salvarea mai multor adrese, urm\u0103rirea comenzilor \u0219i multe altele.<\/p>\n                <footer class=\"page-customer__footer\">\n                    <a href=\"https:\/\/rawmantic.ro\/?page_id=4642\" class=\"btn btn--contrast\">Crea\u021bi un cont<\/a>\n                <\/footer>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n<\/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":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-16","page","type-page","status-publish","hentry"],"acf":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rawmantic.ro\/index.php?rest_route=\/wp\/v2\/pages\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rawmantic.ro\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rawmantic.ro\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rawmantic.ro\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rawmantic.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16"}],"version-history":[{"count":2,"href":"https:\/\/rawmantic.ro\/index.php?rest_route=\/wp\/v2\/pages\/16\/revisions"}],"predecessor-version":[{"id":4666,"href":"https:\/\/rawmantic.ro\/index.php?rest_route=\/wp\/v2\/pages\/16\/revisions\/4666"}],"wp:attachment":[{"href":"https:\/\/rawmantic.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}