{"id":537,"date":"2021-11-06T19:37:48","date_gmt":"2021-11-06T19:37:48","guid":{"rendered":"http:\/\/themes.thememasters.club\/tessera\/my-account\/"},"modified":"2026-02-02T14:33:40","modified_gmt":"2026-02-02T14:33:40","slug":"my-account","status":"publish","type":"page","link":"https:\/\/doc.dima-ai.com\/index.php\/my-account\/","title":{"rendered":"My account"},"content":{"rendered":"<div class=\"eh_crm_support_main wsdesk_wrapper\">\n<div class=\"wsdesk-auth-container\">\n\t<div class=\"wsdesk-auth-tabs\">\n\t\t<button class=\"wsdesk-auth-tab active\" data-tab=\"login\">Login<\/button>\n\t\t<button class=\"wsdesk-auth-tab\" data-tab=\"register\">Register<\/button>\n\t<\/div>\n\t\n\t<div class=\"wsdesk-auth-content\">\n\t\t<!-- Login Form -->\n\t\t<div id=\"wsdesk-login-form\" class=\"wsdesk-auth-form active\">\n\t\t\t<h2>Welcome Back!<\/h2>\n\t\t\t<div id=\"wsdesk-login-message\"><\/div>\n\t\t\t<form method=\"post\" id=\"wsdesk-login-form-submit\">\n\t\t\t\t<div class=\"wsdesk-form-group\">\n\t\t\t\t\t<label for=\"wsdesk_login_username\">Username or Email<\/label>\n\t\t\t\t\t<input type=\"text\" name=\"log\" id=\"wsdesk_login_username\" required>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"wsdesk-form-group\">\n\t\t\t\t\t<label for=\"wsdesk_login_password\">Password<\/label>\n\t\t\t\t\t<input type=\"password\" name=\"pwd\" id=\"wsdesk_login_password\" required>\n\t\t\t\t<\/div>\n\t\t\t\t<input type=\"hidden\" name=\"redirect_to\" value=\"https:\/\/doc.dima-ai.com\/index.php\/wp-json\/wp\/v2\/pages\/537\">\n\t\t\t\t<input type=\"hidden\" name=\"wsdesk_login_nonce\" value=\"d0a027ed1a\">\n\t\t\t\t<button type=\"submit\" class=\"wsdesk-submit-btn\">Login<\/button>\n\t\t\t<\/form>\n\t\t\t<div class=\"wsdesk-form-footer\">\n\t\t\t\t<a href=\"https:\/\/doc.dima-ai.com\/wp-login.php?action=lostpassword\">Forgot your password?<\/a>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\t\t<!-- Register Form -->\n\t\t<div id=\"wsdesk-register-form\" class=\"wsdesk-auth-form\">\n\t\t\t<h2>Create Account<\/h2>\n\t\t\t<div id=\"wsdesk-register-message\"><\/div>\n\t\t\t<form method=\"post\" id=\"wsdesk-register-form-submit\">\n\t\t\t\t<div class=\"wsdesk-form-group\">\n\t\t\t\t\t<label for=\"wsdesk_register_username\">Username<\/label>\n\t\t\t\t\t<input type=\"text\" name=\"user_login\" id=\"wsdesk_register_username\" required>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"wsdesk-form-group\">\n\t\t\t\t\t<label for=\"wsdesk_register_email\">Email Address<\/label>\n\t\t\t\t\t<input type=\"email\" name=\"user_email\" id=\"wsdesk_register_email\" required>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"wsdesk-form-group\">\n\t\t\t\t\t<label for=\"wsdesk_register_password\">Password<\/label>\n\t\t\t\t\t<input type=\"password\" name=\"user_password\" id=\"wsdesk_register_password\" required minlength=\"6\">\n\t\t\t\t<\/div>\n\t\t\t\t<input type=\"hidden\" name=\"redirect_to\" value=\"https:\/\/doc.dima-ai.com\/index.php\/wp-json\/wp\/v2\/pages\/537\">\n\t\t\t\t<input type=\"hidden\" name=\"wsdesk_register_nonce\" value=\"ec43b11c80\">\n\t\t\t\t<button type=\"submit\" class=\"wsdesk-submit-btn\">Create Account<\/button>\n\t\t\t<\/form>\n\t\t\t<div class=\"wsdesk-form-footer\">\n\t\t\t\tBy registering, you agree to our <a href=\"https:\/\/www.dima-ai.com\/terms\/\" target=\"_blank\" rel=\"noopener noreferrer\">Terms of Service<\/a>\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n\n<script type=\"text\/javascript\">\njQuery(document).ready(function($) {\n\t\/\/ Tab switching\n\t$('.wsdesk-auth-tab').on('click', function() {\n\t\tvar tab = $(this).data('tab');\n\t\t$('.wsdesk-auth-tab').removeClass('active');\n\t\t$(this).addClass('active');\n\t\t$('.wsdesk-auth-form').removeClass('active');\n\t\t$('#wsdesk-' + tab + '-form').addClass('active');\n\t});\n\n\t\/\/ Login form submission\n\t$('#wsdesk-login-form-submit').on('submit', function(e) {\n\t\te.preventDefault();\n\t\tvar $form = $(this);\n\t\tvar $button = $form.find('button[type=\"submit\"]');\n\t\tvar $message = $('#wsdesk-login-message');\n\t\t\n\t\t$button.prop('disabled', true).text('Logging in...');\n\t\t$message.html('');\n\n\t\t$.ajax({\n\t\t\turl: 'https:\/\/doc.dima-ai.com\/wp-admin\/admin-ajax.php',\n\t\t\ttype: 'POST',\n\t\t\tdata: $form.serialize() + '&action=wsdesk_login',\n\t\t\tsuccess: function(response) {\n\t\t\t\tif (response.success) {\n\t\t\t\t\t$message.html('<div class=\"wsdesk-auth-message success\">' + response.data.message + '<\/div>');\n\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\twindow.location.href = response.data.redirect;\n\t\t\t\t\t}, 500);\n\t\t\t\t} else {\n\t\t\t\t\t$message.html('<div class=\"wsdesk-auth-message error\">' + response.data.message + '<\/div>');\n\t\t\t\t\t$button.prop('disabled', false).text('Login');\n\t\t\t\t}\n\t\t\t},\n\t\t\terror: function() {\n\t\t\t\t$message.html('<div class=\"wsdesk-auth-message error\">An error occurred. Please try again.<\/div>');\n\t\t\t\t$button.prop('disabled', false).text('Login');\n\t\t\t}\n\t\t});\n\t});\n\n\t\/\/ Register form submission\n\t$('#wsdesk-register-form-submit').on('submit', function(e) {\n\t\te.preventDefault();\n\t\tvar $form = $(this);\n\t\tvar $button = $form.find('button[type=\"submit\"]');\n\t\tvar $message = $('#wsdesk-register-message');\n\t\t\n\t\t$button.prop('disabled', true).text('Creating account...');\n\t\t$message.html('');\n\n\t\t$.ajax({\n\t\t\turl: 'https:\/\/doc.dima-ai.com\/wp-admin\/admin-ajax.php',\n\t\t\ttype: 'POST',\n\t\t\tdata: $form.serialize() + '&action=wsdesk_register',\n\t\t\tsuccess: function(response) {\n\t\t\t\tif (response.success) {\n\t\t\t\t\t$message.html('<div class=\"wsdesk-auth-message success\">' + response.data.message + '<\/div>');\n\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\twindow.location.href = response.data.redirect;\n\t\t\t\t\t}, 1000);\n\t\t\t\t} else {\n\t\t\t\t\t$message.html('<div class=\"wsdesk-auth-message error\">' + response.data.message + '<\/div>');\n\t\t\t\t\t$button.prop('disabled', false).text('Create Account');\n\t\t\t\t}\n\t\t\t},\n\t\t\terror: function() {\n\t\t\t\t$message.html('<div class=\"wsdesk-auth-message error\">An error occurred. Please try again.<\/div>');\n\t\t\t\t$button.prop('disabled', false).text('Create Account');\n\t\t\t}\n\t\t});\n\t});\n});\n<\/script>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"tessera_post_format_link":"","footnotes":""},"class_list":["post-537","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/doc.dima-ai.com\/index.php\/wp-json\/wp\/v2\/pages\/537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doc.dima-ai.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/doc.dima-ai.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/doc.dima-ai.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doc.dima-ai.com\/index.php\/wp-json\/wp\/v2\/comments?post=537"}],"version-history":[{"count":4,"href":"https:\/\/doc.dima-ai.com\/index.php\/wp-json\/wp\/v2\/pages\/537\/revisions"}],"predecessor-version":[{"id":1108,"href":"https:\/\/doc.dima-ai.com\/index.php\/wp-json\/wp\/v2\/pages\/537\/revisions\/1108"}],"wp:attachment":[{"href":"https:\/\/doc.dima-ai.com\/index.php\/wp-json\/wp\/v2\/media?parent=537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}