PATH:
home
/
lab2454c
/
veritserv.com
/
wp-content
/
plugins
/
user-registration-pro
/
assets
/
js
/
frontend
jQuery(function ($) { $(".ur-frontend-form") .find("form.login") .each(function () { var $ur_login_ajax_form = $(this); $ur_login_ajax_form .find("#user_registration_ajax_login_submit") .on("click", function (e) { e.preventDefault(); var $this = $(this); var username = $this .closest("form") .find('input[name="username"]') .val(); var password = $this .closest("form") .find('input[name="password"]') .val(); var rememberme = $this .closest("form") .find('input[name="rememberme"]') .val(), redirect_url = $this .closest("form") .find('input[name="redirect"]') .val(); if ("hCaptcha" === ur_login_params.recaptcha_type) { var CaptchaResponse = $this .closest("form") .find('[name="h-captcha-response"]') .val(); } else { var CaptchaResponse = $this .closest("form") .find('[name="g-recaptcha-response"]') .val(); } var url = ur_login_params.ajax_url + "?action=user_registration_ajax_login_submit&security=" + ur_login_params.ur_login_form_save_nonce; $this .closest("form") .find(".ur-submit-button") .siblings("span") .addClass("ur-front-spinner"); $.ajax({ type: "POST", url: url, data: { username: username, password: password, rememberme: rememberme, CaptchaResponse: CaptchaResponse, redirect: redirect_url, }, success: function (res) { $this .closest("form") .find(".ur-submit-button") .siblings("span") .removeClass("ur-front-spinner"); // custom error message if (res.success == false) { $(document).trigger( "user_registration_after_login_failed", [$this] ); $this .closest("#user-registration") .find(".user-registration-error") .remove(); $this .closest("#user-registration") .prepend( '<ul class="user-registration-error">' + res.data.message + "</ul>" ); } else { window.location.href = res.data.message; } }, }); }); }); });
[-] jquery.validate.min.js
[edit]
[-] my-account.min.js
[edit]
[-] jquery.min.js
[edit]
[-] my-account.js
[edit]
[+]
..
[-] password-strength-meter.js
[edit]
[-] ur-login.js
[edit]
[-] user-registration-recaptcha.min.js
[edit]
[-] user-registration-form-validator.js
[edit]
[-] user-registration-recaptcha.js
[edit]
[-] user-registration.min.js
[edit]
[-] user-registration-form-validator.min.js
[edit]
[-] user-registration.js
[edit]
[-] .htaccess
[edit]
[-] ur-login.min.js
[edit]
[-] password-strength-meter.min.js
[edit]
[-] jquery.validate.js
[edit]
[-] lost-password.min.js
[edit]
[-] lost-password.js
[edit]