403Webshell
Server IP : 34.87.99.72  /  Your IP : 216.73.217.31
Web Server : Apache/2.4.46 (Unix) OpenSSL/1.1.1n
System : Linux zlock-bitnami-lamp-prod-v2-vm 4.19.0-16-cloud-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64
User : bitnami ( 1000)
PHP Version : 7.4.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /opt/bitnami/apache/htdocs/app/public/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/bitnami/apache/htdocs/app/public/js/50.js
(self.webpackChunk=self.webpackChunk||[]).push([[50],{6399:(t,s,r)=>{"use strict";r.d(s,{v:()=>a});var a={methods:{errorHandler_:function(t){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=this.errorSeparator_(t,s),a=r.a,e=r.b;return Object.keys(e).length>0&&this.alertErrorMessages_(this.computeErrorMessages_(e)),a},errorSeparator_:function(t){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r="Something Is Not Right. Please Try Again Later.",a={},e={};if(null==t)this.defaultNotify_(r);else if(t.status&&t.data){var o=t.status,n=t.data;if(422==o){var i=n.errors||n.message;Object.keys(i).forEach((function(t){s.includes(t)?a[t]=i[t]:e[t]=i[t]}))}else r=[400,403].includes(o)?n.message:r,this.defaultNotify_(r)}else console.error(t);return{a,b:e}},defaultNotify_:function(t){return this.$toast.warning(t),null},computeErrorMessages_:function(t){var s=Object.keys(t);if(s.length>0){var r=[];return s.forEach((function(s){r.push(t[s][0])})),r}return[]},alertErrorMessages_:function(t){this.$toast.warning(t.join("<br>"))}}}},9050:(t,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>i});var a=r(6399);const e={components:{},mixins:[a.v],props:{visible:{type:Boolean,required:!0}},data:function(){return{form:{},errors:{},submit_loading:!1,has_old_password:null}},created:function(){this.checkAuthPassword()},methods:{closeDialog:function(){this.$emit("update:visible",!1)},checkAuthPassword:function(){var t=this;this.$api.checkAuthPassword().then((function(s){t.has_old_password=s.data.result.has_old_password})).catch((function(s){t.errorHandler_(s)}))},submitForm:function(t){this.saveModel(t)},saveModel:function(t){var s=this;this.submit_loading=!0,this.errors={};var r={current_password:t.current_password,password:t.password,password_confirmation:t.password_confirmation};this.$api.changePassword(r).then((function(){s.$toast.info("Password Successfully Updated, Please Login Again."),window.localStorage.removeItem("config-X"),s.$router.push("/login")})).catch((function(t){s.errors=s.errorHandler_(t,["current_password","password","password_confirmation"])})).finally((function(){s.submit_loading=!1}))}}};var o=r(1900);const n={components:{ChangePasswordForm:(0,o.Z)(e,(function(){var t=this,s=t.$createElement,r=t._self._c||s;return r("v-card",{staticClass:"radius-10"},[r("v-card-title",[r("span",{staticClass:"headline"},[t._v("Change Password")])]),t._v(" "),r("v-divider",{staticClass:"mb-4"}),t._v(" "),r("v-card-text",{staticClass:"py-4"},[null!=t.has_old_password?r("v-row",{attrs:{dense:""}},[1==t.has_old_password?r("v-col",{staticClass:"pb-2",attrs:{cols:"12",md:"12"}},[r("v-text-field",{attrs:{type:"password",label:"Current Password",dense:"","error-messages":t.errors.current_password},model:{value:t.form.current_password,callback:function(s){t.$set(t.form,"current_password",s)},expression:"form.current_password"}})],1):t._e(),t._v(" "),r("v-col",{staticClass:"pb-2",attrs:{cols:"12",md:"12"}},[r("v-text-field",{attrs:{type:"password",label:"New Password",dense:"","error-messages":t.errors.password},model:{value:t.form.password,callback:function(s){t.$set(t.form,"password",s)},expression:"form.password"}})],1),t._v(" "),r("v-col",{staticClass:"pb-2",attrs:{cols:"12",md:"12"}},[r("v-text-field",{attrs:{type:"password",label:"Confirm New Password",dense:"","error-messages":t.errors.password_confirmation},model:{value:t.form.password_confirmation,callback:function(s){t.$set(t.form,"password_confirmation",s)},expression:"form.password_confirmation"}})],1)],1):r("v-skeleton-loader",{attrs:{type:"paragraph"}})],1),t._v(" "),r("v-card-actions",[r("v-spacer"),t._v(" "),r("v-btn",{attrs:{color:"blue darken-1",text:"",title:"Cancel"},on:{click:function(s){return t.closeDialog()}}},[t._v("\n\t\t\tCancel\n\t\t")]),t._v(" "),r("v-btn",{attrs:{color:"blue darken-1",text:"",title:"Save",loading:t.submit_loading},on:{click:function(s){return t.submitForm(t.form)}}},[t._v("\n\t\t\tSave\n\t\t")])],1)],1)}),[],!1,null,null,null).exports},mixins:[a.v],data:function(){return{form:{},errors:{},changePassword_dialog:!1,submit_loading:!1}},created:function(){this.form={id:this.$auth.user().id,full_name:this.$auth.user().full_name,mobile_num:this.$auth.user().mobile_num}},methods:{updateAuthProfile:function(){var t=this;this.submit_loading=!0,this.errors={};var s=this.form;this.$api.updateAuthProfile(s).then((function(s){t.$toast.success(s.data.message),t.$auth.fetch()})).catch((function(s){t.errors=t.errorHandler_(s,["full_name","mobile_num"])})).finally((function(){t.submit_loading=!1}))},changePassword:function(){this.changePassword_dialog=!0}}};const i=(0,o.Z)(n,(function(){var t=this,s=t.$createElement,r=t._self._c||s;return r("v-container",[r("v-card",{staticClass:"pa-6"},[r("v-row",[r("v-col",{attrs:{cols:"12"}},[r("div",{staticClass:"headline font-weight-bold pa-2"},[t._v("Profile")]),t._v(" "),r("v-divider",{staticClass:"px-1"}),t._v(" "),r("v-col",{attrs:{cols:"12",md:"6"}},[r("v-row",{attrs:{dense:""}},[r("v-col",{staticClass:"pb-2 pt-4",attrs:{cols:"12",md:"12"}},[r("v-text-field",{attrs:{label:"Full Name",placeholder:"Full Name",outlined:"",dense:"","error-messages":t.errors.full_name},model:{value:t.form.full_name,callback:function(s){t.$set(t.form,"full_name",s)},expression:"form.full_name"}})],1),t._v(" "),r("v-col",{staticClass:"pb-2",attrs:{cols:"12",md:"12"}},[r("v-text-field",{attrs:{label:"Mobile Number",placeholder:"Mobile Number",outlined:"",dense:"","error-messages":t.errors.mobile_num},model:{value:t.form.mobile_num,callback:function(s){t.$set(t.form,"mobile_num",s)},expression:"form.mobile_num"}})],1),t._v(" "),r("v-col",{attrs:{cols:"12"}},[r("v-btn",{staticClass:"text-capitalize",attrs:{color:"info",loading:t.submit_loading},on:{click:function(s){return t.updateAuthProfile()}}},[t._v("\n\t\t\t\t\t\t\t\tUpdate Profile\n\t\t\t\t\t\t\t")])],1)],1)],1)],1),t._v(" "),r("v-col",{attrs:{cols:"12"}},[r("div",{staticClass:"headline font-weight-bold pa-2"},[t._v("Change Password")]),t._v(" "),r("v-divider",{staticClass:"px-1"}),t._v(" "),r("div",{staticClass:"caption grey--text pa-1"},[t._v("Changing your account password and logout all login device.")]),t._v(" "),r("v-col",{attrs:{cols:"12",md:"6"}},[r("v-btn",{staticClass:"text-capitalize",attrs:{color:"error",outlined:""},on:{click:function(s){return t.changePassword()}}},[t._v("\n\t\t\t\t\t\tChange Password\n\t\t\t\t\t")])],1)],1)],1)],1),t._v(" "),r("v-dialog",{attrs:{"max-width":"550px",persistent:""},model:{value:t.changePassword_dialog,callback:function(s){t.changePassword_dialog=s},expression:"changePassword_dialog"}},[r("ChangePasswordForm",{attrs:{visible:t.changePassword_dialog},on:{"update:visible":function(s){t.changePassword_dialog=s}}})],1)],1)}),[],!1,null,null,null).exports}}]);

Youez - 2016 - github.com/yon3zu
LinuXploit