This commit is contained in:
rakesh 2023-01-24 17:37:47 +05:30
parent 9227bf9827
commit fa858f2021
3 changed files with 25 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export default [{
} }
}, },
{ {
path: 'reset-password/:token/:emailId', path: 'reset-password/:token/:emailId?',
name: 'reset-password', name: 'reset-password',
component: () => import(/* webpackChunkName: "gateModule" */ '@/routes/gate/reset.password.vue'), component: () => import(/* webpackChunkName: "gateModule" */ '@/routes/gate/reset.password.vue'),
meta: { meta: {

View File

@ -310,6 +310,16 @@ export default [
}, },
} }
}, },
{
path: 'customer/account/createPassword',
name: 'Create Password',
component: () => import(/* webpackChunkName: "craneMain" */ '@/routes/retailer/customerCreatePassword.vue'),
meta: {
breadcrumb: {
label: 'Create Password',
},
}
},
] ]
}, },

View File

@ -0,0 +1,14 @@
<template>
<div>
</div>
</template>
<script>
//import { Base64 } from 'js-base64';
export default {
name: "ResetPasswordPage",
created() {
window.open("/gate/reset-password/"+this.$route.query.token, "_self");
}
};
</script>