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