<template>
  <a-result
    status="success" :title="$t('lang.RetrievePasswordStep3.title')"
    :sub-title="$t('lang.RetrievePasswordStep3.subTitle')"
  >
    <template #extra>
      <a-button key="console" type="primary" @click="toLogin">{{ $t('lang.RetrievePasswordStep3.signInNow') }}</a-button>
    </template>
  </a-result>
</template>

<script>
export default {
  methods: {
    toLogin: function () {
      this.$router.push('/login');
    },
  },
};
</script>