{"id":271479,"date":"2025-12-18T08:26:11","date_gmt":"2025-12-18T08:26:11","guid":{"rendered":"https:\/\/www.crysound.com\/mot-de-passe-oublie\/"},"modified":"2026-03-07T04:56:31","modified_gmt":"2026-03-07T04:56:31","slug":"mot-de-passe-oublie","status":"publish","type":"page","link":"https:\/\/design.crysound.com\/fr\/mot-de-passe-oublie\/","title":{"rendered":"Mot de passe oubli\u00e9"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"271479\" class=\"elementor elementor-271479 elementor-265856\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8d1ac2f e-flex e-con-boxed e-con e-parent\" data-id=\"8d1ac2f\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;ekit_has_onepagescroll_dot&quot;:&quot;yes&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d39e79d elementor-widget elementor-widget-shortcode\" data-id=\"d39e79d\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">        <div class=\"casdoor-login-container\" data-casdoor-form=\"forgot-password\">\n            <div class=\"casdoor-login-form\">\n                <h1 class=\"casdoor-login-title\">Mot de passe oubli\u00e9<\/h1>\n                \n                <form id=\"casdoor-forgot-password-form\" method=\"post\">\n                    <div class=\"casdoor-form-group\">\n                        <label for=\"casdoor-email\" style=\"font-size: 16px;\">E-mail<\/label>\n                        <input type=\"email\" id=\"casdoor-email\" name=\"email\" required \n                               placeholder=\"E-mail\"\n                               style=\"border-color: #D6D6D6; font-size: 16px; line-height: 24px; font-weight: 300; color: #333;\">\n                        <p style=\"margin: 8px 0 0 0; font-size: 14px; line-height: 20px; font-weight: 300; color: #888888 !important;\">Nous avons envoy\u00e9 un lien magique \u00e0 votre adresse e-mail. Veuillez cliquer sur le lien dans l'e-mail pour continuer.<\/p>\n                    <\/div>\n                    \n                    <button type=\"submit\" class=\"casdoor-auth-login-button\" style=\"margin-top: 40px;\">\n                        <span class=\"casdoor-login-text\">Envoyer l'e-mail<\/span>\n                        <svg class=\"casdoor-login-arrow\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"13\" height=\"13\" viewBox=\"0 0 13 13\" fill=\"none\">\n                            <path d=\"M0.599609 6.43343H12.2663M12.2663 6.43343L6.43294 0.600098M12.2663 6.43343L6.43294 12.2668\" stroke=\"white\" stroke-width=\"1.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/>\n                        <\/svg>\n                    <\/button>\n                <\/form>\n            <\/div>\n        <\/div>\n        \n        <script>\n        \/\/ Define showMessage function inline to avoid dependency issues\n        function showMessage(type, message, persistent) {\n            persistent = persistent || false;\n            jQuery('.casdoor-top-notification').remove();\n            \n            var icon = '';\n            if (type === 'success') {\n                icon = '<svg class=\"casdoor-notification-icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m265.9 713.9a377.2 377.2 0 0 1-119.6 80.6 377.5 377.5 0 0 1-292.6 0 377.1 377.1 0 0 1-200.2-200.2 377.5 377.5 0 0 1 0-292.6 377.1 377.1 0 0 1 200.2-200.2 377.5 377.5 0 0 1 292.6 0 377.1 377.1 0 0 1 200.2 200.2 377.5 377.5 0 0 1 0 292.6 377.2 377.2 0 0 1-80.6 119.6z m-66.8-448.7a4 4 0 0 0-5.7 0l-264.5 264a3.9 3.9 0 0 1-5.6 0L318.6 476.7a4.2 4.2 0 0 0-5.7 0l-45.2 45.2a3.9 3.9 0 0 0 0 5.6l167.6 167.3a3.9 3.9 0 0 0 5.6 0L756.3 380a4 4 0 0 0 0-5.7z\" fill=\"#22C55E\"><\/path><\/svg>';\n            } else if (type === 'error') {\n                icon = '<svg class=\"casdoor-notification-icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M512 947.2C271.36 947.2 76.8 752.64 76.8 512S271.36 76.8 512 76.8 947.2 271.36 947.2 512 752.64 947.2 512 947.2M512 0C230.4 0 0 230.4 0 512s230.4 512 512 512 512-230.4 512-512S793.6 0 512 0\" fill=\"#d81e06\"><\/path><path d=\"M716.8 353.28l-61.44-46.08L512 455.68 368.64 307.2l-61.44 46.08L455.68 512 307.2 665.6l61.44 51.2L512 568.32 655.36 716.8l61.44-51.2L563.2 512z\" fill=\"#d81e06\"><\/path><\/svg>';\n            }\n            \n            var notification = jQuery('<div class=\"casdoor-top-notification ' + type + '\">' + icon + message + '<\/div>');\n            jQuery('body').append(notification);\n            if (!persistent) {\n                setTimeout(function() {\n                    notification.fadeOut(300, function() {\n                        jQuery(this).remove();\n                    });\n                }, 3500);\n            }\n        }\n        \n        jQuery(document).ready(function($) {\n            var countdownInterval;\n            \n            $('#casdoor-forgot-password-form').on('submit', function(e) {\n                e.preventDefault();\n                \n                var email = $('#casdoor-email').val();\n                var $button = $(this).find('button[type=\"submit\"]');\n                var $buttonText = $button.find('.casdoor-login-text');\n                var originalHtml = $button.html();\n                \n                $button.prop('disabled', true);\n                $buttonText.text('Envoi...');\n                \n                $.ajax({\n                    url: 'https:\/\/design.crysound.com\/wp-admin\/admin-ajax.php',\n                    type: 'POST',\n                    data: {\n                        action: 'casdoor_send_reset_email',\n                        email: email,\n                        nonce: '1938bbf67e'\n                    },\n                    success: function(response) {\n                        if (response.success) {\n                            \/\/ Show success message\n                            showMessage('success', response.data.message);\n                            \n                            \/\/ Start 60 second countdown\n                            var countdown = 60;\n                            $buttonText.text('Renvoyer (' + countdown + 's)');\n                            \n                            countdownInterval = setInterval(function() {\n                                countdown--;\n                                if (countdown > 0) {\n                                    $buttonText.text('Renvoyer (' + countdown + 's)');\n                                } else {\n                                    clearInterval(countdownInterval);\n                                    $button.prop('disabled', false).html(originalHtml);\n                                }\n                            }, 1000);\n                        } else {\n                            \/\/ Show error message\n                            showMessage('error', response.data.message || '\u00c9chec de l\\'envoi de l\\'e-mail de r\u00e9initialisation');\n                            $button.prop('disabled', false).html(originalHtml);\n                        }\n                    },\n                    error: function() {\n                        showMessage('error', 'Erreur r\u00e9seau. Veuillez r\u00e9essayer.');\n                        $button.prop('disabled', false).html(originalHtml);\n                    }\n                });\n            });\n        });\n        <\/script>\n        <\/div>\n\t\t\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":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_acf_changed":false,"_eb_attr":"","content-type":"","footnotes":""},"class_list":["post-271479","page","type-page","status-publish","hentry"],"blocksy_meta":[],"acf":[],"_links":{"self":[{"href":"https:\/\/design.crysound.com\/fr\/wp-json\/wp\/v2\/pages\/271479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/design.crysound.com\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/design.crysound.com\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/design.crysound.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/design.crysound.com\/fr\/wp-json\/wp\/v2\/comments?post=271479"}],"version-history":[{"count":0,"href":"https:\/\/design.crysound.com\/fr\/wp-json\/wp\/v2\/pages\/271479\/revisions"}],"wp:attachment":[{"href":"https:\/\/design.crysound.com\/fr\/wp-json\/wp\/v2\/media?parent=271479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}