lightlimx-website/middleware/authenticated.js

10 lines
230 B
JavaScript

export default function ({ store, redirect }) {
// If the user is not authenticated
// if (store.state.loading) {
// return redirect('/loading')
// }
// if (!store.state.loading) {
// return redirect('/')
// }
}