Fix form notifications + remove login page cache
This commit is contained in:
parent
569184aa54
commit
3f39144b9f
|
@ -70,7 +70,7 @@ export default {
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
replayToEmailField () {
|
replayToEmailField () {
|
||||||
const emailFields = this.form.value.properties.filter((field) => {
|
const emailFields = this.form.properties.filter((field) => {
|
||||||
return field.type === 'email' && !field.hidden
|
return field.type === 'email' && !field.hidden
|
||||||
})
|
})
|
||||||
if (emailFields.length === 1) return emailFields[0]
|
if (emailFields.length === 1) return emailFields[0]
|
||||||
|
|
|
@ -58,9 +58,6 @@ import LoginForm from "~/components/pages/auth/components/LoginForm.vue"
|
||||||
definePageMeta({
|
definePageMeta({
|
||||||
middleware: "guest"
|
middleware: "guest"
|
||||||
})
|
})
|
||||||
defineRouteRules({
|
|
||||||
swr: 3600
|
|
||||||
})
|
|
||||||
useOpnSeoMeta({
|
useOpnSeoMeta({
|
||||||
title: 'Login'
|
title: 'Login'
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue