Don't redirect to login page if we have no account
This commit is contained in:
parent
8d3ad1c27f
commit
d318937348
1 changed files with 1 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ router.beforeEach((to, from, next) => {
|
|||
if (to.params.userId) {
|
||||
const roomId = util.sanitizeUserId(to.params.userId);
|
||||
router.app.$matrix.setCurrentRoomId(roomId);
|
||||
authRequired = false;
|
||||
}
|
||||
} else if (to.name == 'Invite') {
|
||||
if (to.params.roomId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue