add access controll to user pages

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

View file

@ -207,7 +207,7 @@ export default defineComponent({
UserAvatar,
StatsCards,
},
middleware: ["auth"],
middleware: "auth",
scrollToTop: true,
setup() {
const { $auth, i18n } = useContext();