|
|
@ -9,13 +9,11 @@
|
|
|
|
<auth-basic text="we're here to help">
|
|
|
|
<auth-basic text="we're here to help">
|
|
|
|
<template #auth>
|
|
|
|
<template #auth>
|
|
|
|
<v-col cols="6" class="px-10 pt-4">
|
|
|
|
<v-col cols="6" class="px-10 pt-4">
|
|
|
|
<div class="text-uppercase wa__f__ta auth__title">
|
|
|
|
<div class="text-uppercase wa__f__ta auth__title">forgot password</div>
|
|
|
|
forgot password
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="auth__subtitle text-uppercase mb-2">
|
|
|
|
<div class="auth__subtitle text-uppercase mb-2">
|
|
|
|
please provide us this information
|
|
|
|
please provide us this information
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<form>
|
|
|
|
<v-form @submit.prevent="forgotPassword">
|
|
|
|
<v-row>
|
|
|
|
<v-row>
|
|
|
|
<v-col cols="12">
|
|
|
|
<v-col cols="12">
|
|
|
|
<v-text-field
|
|
|
|
<v-text-field
|
|
|
@ -35,7 +33,7 @@
|
|
|
|
height="25"
|
|
|
|
height="25"
|
|
|
|
:text-mode="true"
|
|
|
|
:text-mode="true"
|
|
|
|
text="send the code"
|
|
|
|
text="send the code"
|
|
|
|
@click.native="resetPassword"
|
|
|
|
type="submit"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</v-col>
|
|
|
|
</v-col>
|
|
|
|
<v-col cols="12" class="pt-0">
|
|
|
|
<v-col cols="12" class="pt-0">
|
|
|
@ -51,7 +49,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</v-col>
|
|
|
|
</v-col>
|
|
|
|
</v-row>
|
|
|
|
</v-row>
|
|
|
|
</form>
|
|
|
|
</v-form>
|
|
|
|
</v-col>
|
|
|
|
</v-col>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</auth-basic>
|
|
|
|
</auth-basic>
|
|
|
@ -74,9 +72,10 @@ export default {
|
|
|
|
form: {},
|
|
|
|
form: {},
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
async resetPassword() {
|
|
|
|
async forgotPassword() {
|
|
|
|
let repository = new AuthRepository();
|
|
|
|
let repository = new AuthRepository();
|
|
|
|
await repository.resetPassword(this.form);
|
|
|
|
await repository.forgotPassword(this.form);
|
|
|
|
|
|
|
|
this.$router.push({ name: "login" });
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|