NG1NDEX
Server IP : 150.95.80.236  /  Your IP : 18.217.0.127
Web Server : Apache
System : Linux host-150-95-80-236 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : social-telecare ( 10000)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/pcu.in.th/uat.pcu.in.th/demo15/dist/assets/js/custom/account/settings/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/vhosts/pcu.in.th/uat.pcu.in.th/demo15/dist/assets/js/custom/account/settings/deactivate-account.js
"use strict";var KTAccountSettingsDeactivateAccount=function(){var t,n,e;return{init:function(){t=document.querySelector("#kt_account_deactivate_form"),e=document.querySelector("#kt_account_deactivate_account_submit"),n=FormValidation.formValidation(t,{fields:{deactivate:{validators:{notEmpty:{message:"Please check the box to deactivate your account"}}}},plugins:{trigger:new FormValidation.plugins.Trigger,submitButton:new FormValidation.plugins.SubmitButton,bootstrap:new FormValidation.plugins.Bootstrap5({rowSelector:".fv-row",eleInvalidClass:"",eleValidClass:""})}}),e.addEventListener("click",(function(t){t.preventDefault(),n.validate().then((function(t){"Valid"==t?swal.fire({text:"Are you sure you would like to deactivate your account?",icon:"warning",buttonsStyling:!1,showDenyButton:!0,confirmButtonText:"Yes",denyButtonText:"No",customClass:{confirmButton:"btn btn-light-primary",denyButton:"btn btn-danger"}}).then((t=>{t.isConfirmed?Swal.fire({text:"Your account has been deactivated.",icon:"success",confirmButtonText:"Ok",buttonsStyling:!1,customClass:{confirmButton:"btn btn-light-primary"}}):t.isDenied&&Swal.fire({text:"Account not deactivated.",icon:"info",confirmButtonText:"Ok",buttonsStyling:!1,customClass:{confirmButton:"btn btn-light-primary"}})})):swal.fire({text:"Sorry, looks like there are some errors detected, please try again.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-light-primary"}})}))}))}}}();KTUtil.onDOMContentLoaded((function(){KTAccountSettingsDeactivateAccount.init()}));

Anon7 - 2022
AnonSec Team