mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-01 18:53:59 -04:00
add access controll to user pages
This commit is contained in:
@@ -135,6 +135,7 @@ export default defineComponent({
|
||||
UserAvatar,
|
||||
UserPasswordStrength,
|
||||
},
|
||||
middleware: "auth",
|
||||
setup() {
|
||||
const { $auth } = useContext();
|
||||
const user = computed(() => $auth.user as unknown as UserOut);
|
||||
|
||||
Reference in New Issue
Block a user