mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
This also allows us to generate a password reset link to quickly reset your password without entering the code and email manually.
19 lines
360 B
Vue
19 lines
360 B
Vue
<template>
|
|
<verify-code @verification="handleVerification" />
|
|
</template>
|
|
|
|
<script>
|
|
import VerifyCode from '~/components/PasswordReset/VerifyCode'
|
|
|
|
export default {
|
|
components: {
|
|
VerifyCode,
|
|
},
|
|
methods: {
|
|
handleVerification({ email, code }) {
|
|
this.$router.push({ path: 'change-password', query: { email, code } })
|
|
},
|
|
},
|
|
}
|
|
</script>
|