Allow "createroom" to be accessed without account
A new one will be generated. Issue #67.
This commit is contained in:
parent
0e41f1dec4
commit
878c60f4a1
6 changed files with 213 additions and 51 deletions
|
|
@ -82,7 +82,7 @@ const router = new VueRouter({
|
|||
});
|
||||
|
||||
router.beforeEach((to, from, next) => {
|
||||
const publicPages = ['/login'];
|
||||
const publicPages = ['/login','/createroom'];
|
||||
var authRequired = !publicPages.includes(to.path);
|
||||
const loggedIn = router.app.$store.state.auth.user;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue