Fix form notifications + remove login page cache

This commit is contained in:
Julien Nahum 2024-01-17 11:45:27 +01:00
parent 569184aa54
commit 3f39144b9f
2 changed files with 1 additions and 4 deletions

View File

@ -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]

View File

@ -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'
}) })