[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 3133.js
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3133],{5514:(e,o,r)=>{r.r(o),r.d(o,{default:()=>v});var s=r(9726),t={class:"capitalize text-2xl font-bold mb-7 text-primary"},a={class:"p-6 mb-6 rounded-2xl shadow-card bg-white"},l={class:"text-xl font-bold capitalize mb-5"},n={class:"row"},d={class:"col-12"},i={for:"old_password",class:"field-title required"},c={key:0,class:"db-field-alert"},p={class:"col-12 md:col-6"},m={for:"new_password",class:"field-title required"},w={key:0,class:"db-field-alert"},f={class:"col-12 md:col-6"},u={for:"password_confirmation",class:"field-title required"},h={key:0,class:"db-field-alert"};var _=r(9856);r(8655);const g={name:"ChangePasswordComponent",components:{LoadingComponent:r(1811).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(o){var r;e.loading.isActive=!1,_.A.successFlip(null!==(r="put"===o.config.method)&&void 0!==r?r:0,e.$t("menu.password")),e.form={old_password:"",password:"",confirm_password:""},e.errors={}}).catch(function(o){e.loading.isActive=!1,e.errors=o.response.data.errors})}catch(e){this.loading.isActive=!1,_.A.error(e)}}}};const v=(0,r(6262).A)(g,[["render",function(e,o,r,_,g,v){var b=(0,s.resolveComponent)("LoadingComponent");return(0,s.openBlock)(),(0,s.createElementBlock)(s.Fragment,null,[(0,s.createVNode)(b,{props:g.loading},null,8,["props"]),(0,s.createElementVNode)("h2",t,(0,s.toDisplayString)(e.$t("label.change_password")),1),(0,s.createElementVNode)("form",{onSubmit:o[3]||(o[3]=(0,s.withModifiers)(function(){return v.changePassword&&v.changePassword.apply(v,arguments)},["prevent"]))},[(0,s.createElementVNode)("div",a,[(0,s.createElementVNode)("h3",l,(0,s.toDisplayString)(e.$t("label.change_password")),1),(0,s.createElementVNode)("div",n,[(0,s.createElementVNode)("div",d,[(0,s.createElementVNode)("label",i,(0,s.toDisplayString)(e.$t("label.old_password")),1),(0,s.withDirectives)((0,s.createElementVNode)("input",{type:"password",id:"old_password","onUpdate:modelValue":o[0]||(o[0]=function(e){return g.form.old_password=e}),class:(0,s.normalizeClass)([g.errors.old_password?"invalid":"","field-control"])},null,2),[[s.vModelText,g.form.old_password]]),g.errors.old_password?((0,s.openBlock)(),(0,s.createElementBlock)("small",c,(0,s.toDisplayString)(g.errors.old_password[0]),1)):(0,s.createCommentVNode)("",!0)]),(0,s.createElementVNode)("div",p,[(0,s.createElementVNode)("label",m,(0,s.toDisplayString)(e.$t("label.new_password")),1),(0,s.withDirectives)((0,s.createElementVNode)("input",{type:"password",id:"new_password","onUpdate:modelValue":o[1]||(o[1]=function(e){return g.form.new_password=e}),class:(0,s.normalizeClass)([g.errors.new_password?"invalid":"","field-control"])},null,2),[[s.vModelText,g.form.new_password]]),g.errors.new_password?((0,s.openBlock)(),(0,s.createElementBlock)("small",w,(0,s.toDisplayString)(g.errors.new_password[0]),1)):(0,s.createCommentVNode)("",!0)]),(0,s.createElementVNode)("div",f,[(0,s.createElementVNode)("label",u,(0,s.toDisplayString)(e.$t("label.password_confirmation")),1),(0,s.withDirectives)((0,s.createElementVNode)("input",{type:"password",id:"password_confirmation","onUpdate:modelValue":o[2]||(o[2]=function(e){return g.form.confirm_password=e}),class:(0,s.normalizeClass)([g.errors.confirm_password?"invalid":"","field-control"])},null,2),[[s.vModelText,g.form.confirm_password]]),g.errors.confirm_password?((0,s.openBlock)(),(0,s.createElementBlock)("small",h,(0,s.toDisplayString)(g.errors.confirm_password[0]),1)):(0,s.createCommentVNode)("",!0)])])]),o[4]||(o[4]=(0,s.createElementVNode)("button",{type:"submit",class:"px-6 py-3 capitalize rounded-full whitespace-nowrap text-center font-semibold text-white bg-primary"},"save changes",-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