{"id":490,"date":"2023-09-24T11:05:59","date_gmt":"2023-09-24T09:05:59","guid":{"rendered":"https:\/\/www.flechedor.lu\/connexion\/"},"modified":"2023-09-24T11:06:54","modified_gmt":"2023-09-24T09:06:54","slug":"connexion","status":"publish","type":"page","link":"https:\/\/www.flechedor.lu\/fr\/connexion\/","title":{"rendered":"Connexion"},"content":{"rendered":"<form class=\"wplf6a04653943a9a\"  name=\"loginform\" id=\"loginform\" action=\"https:\/\/www.flechedor.lu\/fr\/wp-login.php\" method=\"post\"><p class=\"login-username\">\n\t\t\t\t<label for=\"user_login\">Identifiant ou adresse e-mail<\/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\">Mot de passe<\/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><input type=\"hidden\" name=\"g-recaptcha-response\" class=\"agr-recaptcha-response\" value=\"\" \/><script>\r\n                (function() {\r\n                    var siteKey = \"6LeeD8kiAAAAABZ3iTLt48tPi6Kw4Q5C85xwZPli\";\r\n                    var refreshTimer = null;\r\n\r\n                    function wpcaptchaSetToken(token) {\r\n                        document.querySelectorAll(\".agr-recaptcha-response\").forEach(function(field) {\r\n                            field.value = token;\r\n                            field.setAttribute(\"data-token-time\", Date.now());\r\n                        });\r\n                    }\r\n\r\n                    function wpcaptchaRefreshToken(callback) {\r\n                        if (typeof grecaptcha === \"undefined\") {\r\n                            if (callback) callback(false);\r\n                            return;\r\n                        }\r\n\r\n                        grecaptcha.ready(function() {\r\n                            grecaptcha.execute(siteKey, { action: \"submit\" }).then(function(token) {\r\n                                wpcaptchaSetToken(token);\r\n                                if (callback) callback(true);\r\n                            });\r\n                        });\r\n                    }\r\n\r\n                    function wpcaptchaStartAutoRefresh() {\r\n                        clearInterval(refreshTimer);\r\n\r\n                        wpcaptchaRefreshToken();\r\n\r\n                        refreshTimer = setInterval(function() {\r\n                            wpcaptchaRefreshToken();\r\n                        }, 90000);\r\n                    }\r\n\r\n                    document.addEventListener(\"submit\", function(e) {\r\n                        var form = e.target;\r\n                        var field = form.querySelector(\".agr-recaptcha-response\");\r\n\r\n                        if (!field) return;\r\n\r\n                        var tokenTime = parseInt(field.getAttribute(\"data-token-time\") || \"0\", 10);\r\n                        var age = Date.now() - tokenTime;\r\n\r\n                        if (field.value && age < 90000) {\r\n                            return;\r\n                        }\r\n\r\n                        e.preventDefault();\r\n\r\n                        wpcaptchaRefreshToken(function(success) {\r\n                            if (success) {\r\n                                form.submit();\r\n                            }\r\n                        });\r\n                    }, true);\r\n\r\n                    window.wpcaptchaRefreshToken = wpcaptchaRefreshToken;\r\n\r\n                    if (document.readyState === \"loading\") {\r\n                        document.addEventListener(\"DOMContentLoaded\", wpcaptchaStartAutoRefresh);\r\n                    } else {\r\n                        wpcaptchaStartAutoRefresh();\r\n                    }\r\n                })();\r\n                <\/script><script src='https:\/\/www.google.com\/recaptcha\/api.js?onload=wpcaptcha_captcha&render=6LeeD8kiAAAAABZ3iTLt48tPi6Kw4Q5C85xwZPli&ver=1.35' id='wpcaptcha-recaptcha-js'><\/script><p class=\"login-remember\"><label><input name=\"rememberme\" type=\"checkbox\" id=\"rememberme\" value=\"forever\" \/> Se souvenir de moi<\/label><\/p><p class=\"login-submit\">\n\t\t\t\t<input type=\"submit\" name=\"wp-submit\" id=\"wp-submit\" class=\"button button-primary g-recaptcha\" data-sitekey=\"6LeeD8kiAAAAABZ3iTLt48tPi6Kw4Q5C85xwZPli\" data-callback=\"wplf6a04653943a9aonSubmit\" value=\"Se connecter\" \/>\n\t\t\t\t<input type=\"hidden\" name=\"redirect_to\" value=\"https:\/\/www.flechedor.lu\/fr\/wp-json\/wp\/v2\/pages\/490\" \/>\n\t\t\t<\/p><\/form><a class=\"wplf-lostpassword\" href=\"https:\/\/www.flechedor.lu\/my-account\/?action=fpw\">Lost your password?<\/a>        <script>\r\n            function wplf6a04653943a9aonSubmit(token) {\r\n                \/\/console.log(token);\r\n                document.getElementsByClassName('wplf6a04653943a9a')[0].submit();\r\n            }\r\n        <\/script>       \n","protected":false},"excerpt":{"rendered":"<a class=\"moretag noptoppad\" href=\"https:\/\/www.flechedor.lu\/fr\/connexion\/\">Read More...<\/a>","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"slim_seo":{"title":"Connexion - Fl\u00e8che d&#039;Or Luxembourg","description":""},"footnotes":""},"class_list":["post-490","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.flechedor.lu\/fr\/wp-json\/wp\/v2\/pages\/490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flechedor.lu\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.flechedor.lu\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.flechedor.lu\/fr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flechedor.lu\/fr\/wp-json\/wp\/v2\/comments?post=490"}],"version-history":[{"count":1,"href":"https:\/\/www.flechedor.lu\/fr\/wp-json\/wp\/v2\/pages\/490\/revisions"}],"predecessor-version":[{"id":491,"href":"https:\/\/www.flechedor.lu\/fr\/wp-json\/wp\/v2\/pages\/490\/revisions\/491"}],"wp:attachment":[{"href":"https:\/\/www.flechedor.lu\/fr\/wp-json\/wp\/v2\/media?parent=490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}