Allow "createroom" to be accessed without account

A new one will be generated. Issue #67.
This commit is contained in:
N-Pex 2021-05-21 16:27:39 +02:00
parent 0e41f1dec4
commit 878c60f4a1
6 changed files with 213 additions and 51 deletions

View file

@ -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;