- Complete GGZ Ecademy Nuxt.js user portal - Learning products browser and management - Member management interface - User authentication and roles - Multi-language support (NL/EN) - Vuex store for state management - Component-based architecture
This commit is contained in:
3
middleware/user.js
Normal file
3
middleware/user.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export default function ({ store, redirect }) {
|
||||
if (!store.getters.isUser) { return redirect('/') }
|
||||
}
|
||||
Reference in New Issue
Block a user