1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-04 13:05:21 +02:00

add access controll to user pages

This commit is contained in:
Kuchenpirat 2024-01-31 15:25:21 +00:00
parent 8d2d571683
commit 7dafa6c7fe
4 changed files with 4 additions and 1 deletions

View file

@ -135,6 +135,7 @@ export default defineComponent({
UserAvatar,
UserPasswordStrength,
},
middleware: "auth",
setup() {
const { $auth } = useContext();
const user = computed(() => $auth.user as unknown as UserOut);