[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 8961.js
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8961],{4538:(e,r,o)=>{o.d(r,{A:()=>m});var t=o(9726),s={class:"db-breadcrumb"},a={class:"db-breadcrumb-list"},n={key:0,class:"db-breadcrumb-item"},l={class:"db-breadcrumb-item"},d={key:0},c={key:1};const i={name:"BreadcrumbComponent",data:function(){return{breadcrumbs:[]}},computed:{authDefaultPermission:function(){return this.$store.getters.authDefaultPermission}},watch:{$route:function(){this.route()}},created:function(){this.route()},methods:{route:function(){var e,r=[],o=this.$route.matched;if(o.length>0)for(e=0;e<o.length;e++)o[e].meta.breadcrumb&&(r[e]=o[e]);this.breadcrumbs=r}}};const m=(0,o(6262).A)(i,[["render",function(e,r,o,i,m,u){var p=(0,t.resolveComponent)("router-link");return(0,t.openBlock)(),(0,t.createElementBlock)("div",s,[(0,t.createElementVNode)("ul",a,[Object.keys(u.authDefaultPermission).length>0?((0,t.openBlock)(),(0,t.createElementBlock)("li",n,[(0,t.createVNode)(p,{class:"db-breadcrumb-link",to:"/admin/"+u.authDefaultPermission.url},{default:(0,t.withCtx)(function(){return[(0,t.createTextVNode)((0,t.toDisplayString)(e.$t("menu."+u.authDefaultPermission.name)),1)]}),_:1},8,["to"])])):(0,t.createCommentVNode)("",!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(m.breadcrumbs,function(r,o){return(0,t.openBlock)(),(0,t.createElementBlock)("li",l,[o!==Object.keys(m.breadcrumbs).length-1?((0,t.openBlock)(),(0,t.createElementBlock)("span",d,[(0,t.createVNode)(p,{class:"db-breadcrumb-link",to:r.path},{default:(0,t.withCtx)(function(){return[(0,t.createTextVNode)((0,t.toDisplayString)(e.$t("menu."+r.meta.breadcrumb)),1)]}),_:2},1032,["to"])])):((0,t.openBlock)(),(0,t.createElementBlock)("span",c,(0,t.toDisplayString)(e.$t("menu."+r.meta.breadcrumb)),1))])}),256))])])}]])},8961:(e,r,o)=>{o.r(r),o.d(r,{default:()=>C});var t=o(9726),s={class:"col-12"},a={class:"col-12"},n={class:"db-card"},l={class:"db-card-header"},d={class:"db-card-title"},c={class:"db-card-body"},i={class:"form-row"},m={class:"form-col-12 sm:form-col-6"},u={for:"old_password",class:"db-field-title required"},p={key:0,class:"db-field-alert"},f={class:"form-col-12 sm:form-col-6"},b={for:"new_password",class:"db-field-title required"},w={key:0,class:"db-field-alert"},h={class:"form-col-12 sm:form-col-6"},v={for:"confirm_password",class:"db-field-title required"},V={key:0,class:"db-field-alert"},g={class:"form-col-12"},k={class:"flex flex-wrap gap-3"},E={type:"submit",class:"db-btn py-2 text-white bg-primary"};var _=o(4538),N=o(9856),y=o(5475);const B={name:"ProfileChangePasswordComponent",components:{BreadcrumbComponent:_.A,LoadingComponent:y.A},data:function(){return{loading:{isActive:!1},form:{old_password:"",new_password:"",confirm_password:""},errors:{}}},methods:{changePassword:function(){var e=this;try{this.loading.isActive=!0,this.$store.dispatch("frontendEditProfile/changePassword",this.form).then(function(r){e.loading.isActive=!1,N.A.success(e.$t("message.password_update")),e.form={old_password:"",new_password:"",confirm_password:""},e.errors={}}).catch(function(r){e.loading.isActive=!1,e.errors=r.response.data.errors})}catch(e){this.loading.isActive=!1,N.A.error(e)}}}};const C=(0,o(6262).A)(B,[["render",function(e,r,o,_,N,y){var B=(0,t.resolveComponent)("BreadcrumbComponent"),C=(0,t.resolveComponent)("LoadingComponent");return(0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.createElementVNode)("div",s,[(0,t.createVNode)(B)]),(0,t.createVNode)(C,{props:N.loading},null,8,["props"]),(0,t.createElementVNode)("div",a,[(0,t.createElementVNode)("div",n,[(0,t.createElementVNode)("div",l,[(0,t.createElementVNode)("h3",d,(0,t.toDisplayString)(e.$t("menu.change_password")),1)]),(0,t.createElementVNode)("div",c,[(0,t.createElementVNode)("form",{onSubmit:r[3]||(r[3]=(0,t.withModifiers)(function(){return y.changePassword&&y.changePassword.apply(y,arguments)},["prevent"]))},[(0,t.createElementVNode)("div",i,[(0,t.createElementVNode)("div",m,[(0,t.createElementVNode)("label",u,(0,t.toDisplayString)(e.$t("label.old_password")),1),(0,t.withDirectives)((0,t.createElementVNode)("input",{"onUpdate:modelValue":r[0]||(r[0]=function(e){return N.form.old_password=e}),class:(0,t.normalizeClass)([N.errors.old_password?"invalid":"","db-field-control"]),id:"old_password",type:"password"},null,2),[[t.vModelText,N.form.old_password]]),N.errors.old_password?((0,t.openBlock)(),(0,t.createElementBlock)("small",p,(0,t.toDisplayString)(N.errors.old_password[0]),1)):(0,t.createCommentVNode)("",!0)]),(0,t.createElementVNode)("div",f,[(0,t.createElementVNode)("label",b,(0,t.toDisplayString)(e.$t("label.new_password")),1),(0,t.withDirectives)((0,t.createElementVNode)("input",{"onUpdate:modelValue":r[1]||(r[1]=function(e){return N.form.new_password=e}),class:(0,t.normalizeClass)([N.errors.new_password?"invalid":"","db-field-control"]),type:"password",id:"new_password",autocomplete:"off"},null,2),[[t.vModelText,N.form.new_password]]),N.errors.new_password?((0,t.openBlock)(),(0,t.createElementBlock)("small",w,(0,t.toDisplayString)(N.errors.new_password[0]),1)):(0,t.createCommentVNode)("",!0)]),(0,t.createElementVNode)("div",h,[(0,t.createElementVNode)("label",v,(0,t.toDisplayString)(e.$t("label.confirm_password")),1),(0,t.withDirectives)((0,t.createElementVNode)("input",{"onUpdate:modelValue":r[2]||(r[2]=function(e){return N.form.confirm_password=e}),class:(0,t.normalizeClass)([N.errors.confirm_password?"invalid":"","db-field-control"]),type:"password",id:"confirm_password",autocomplete:"off"},null,2),[[t.vModelText,N.form.confirm_password]]),N.errors.confirm_password?((0,t.openBlock)(),(0,t.createElementBlock)("small",V,(0,t.toDisplayString)(N.errors.confirm_password[0]),1)):(0,t.createCommentVNode)("",!0)]),(0,t.createElementVNode)("div",g,[(0,t.createElementVNode)("div",k,[(0,t.createElementVNode)("button",E,[r[4]||(r[4]=(0,t.createElementVNode)("i",{class:"lab lab-fill-save"},null,-1)),(0,t.createElementVNode)("span",null,(0,t.toDisplayString)(e.$t("button.save")),1)])])])])],32)])])])],64)}]])}}]);
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.87 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285