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:
parent
8d2d571683
commit
7dafa6c7fe
4 changed files with 4 additions and 1 deletions
|
@ -135,6 +135,7 @@ export default defineComponent({
|
|||
UserAvatar,
|
||||
UserPasswordStrength,
|
||||
},
|
||||
middleware: "auth",
|
||||
setup() {
|
||||
const { $auth } = useContext();
|
||||
const user = computed(() => $auth.user as unknown as UserOut);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue