7 lines
162 B
JavaScript
7 lines
162 B
JavaScript
|
export default function ({ store, redirect }) {
|
||
|
// If the user is authenticated redirect to home page
|
||
|
if (store.state.oauth) {
|
||
|
return redirect('/')
|
||
|
}
|
||
|
}
|