mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 08:14:30 -04:00
fix: Re-write Nuxt auth backend and get rid of sidebase auth (#6322)
This commit is contained in:
@@ -111,7 +111,7 @@ import { useUserApi } from "~/composables/api";
|
||||
import type { VForm } from "~/types/auto-forms";
|
||||
|
||||
export default defineNuxtComponent({
|
||||
middleware: ["sidebase-auth", "advanced-only"],
|
||||
middleware: ["advanced-only"],
|
||||
setup() {
|
||||
const i18n = useI18n();
|
||||
const $auth = useMealieAuth();
|
||||
|
||||
@@ -213,7 +213,6 @@ export default defineNuxtComponent({
|
||||
UserAvatar,
|
||||
UserPasswordStrength,
|
||||
},
|
||||
middleware: "sidebase-auth",
|
||||
setup() {
|
||||
const i18n = useI18n();
|
||||
const $auth = useMealieAuth();
|
||||
|
||||
@@ -291,7 +291,6 @@ export default defineNuxtComponent({
|
||||
UserAvatar,
|
||||
StatsCards,
|
||||
},
|
||||
middleware: "sidebase-auth",
|
||||
scrollToTop: true,
|
||||
async setup() {
|
||||
const i18n = useI18n();
|
||||
|
||||
Reference in New Issue
Block a user