opnform/client/pages/subscriptions/error.vue

34 lines
611 B
Vue
Raw Permalink Normal View History

2023-12-09 14:47:03 +00:00
<template />
<script>
import { computed } from 'vue'
import { useAuthStore } from '../../stores/auth'
export default {
components: { },
layout: 'default',
middleware: 'auth',
setup () {
useOpnSeoMeta({
title: 'Error'
})
2023-12-09 14:47:03 +00:00
const authStore = useAuthStore()
return {
authenticated : computed(() => authStore.check),
}
},
data: () => ({
}),
mounted () {
this.$router.push({ name: 'pricing' })
useAlert().error('Unfortunately we could not confirm your subscription. Please try again and contact us if the issue persists.')
2023-12-09 14:47:03 +00:00
},
computed: {}
}
</script>