fix: Fixes navigating back to welcome page after clicking cancel on login window.
It was handling just conference_failed with password required, but not connection failed with password required.
This commit is contained in:
parent
f613126776
commit
ccc1157df5
|
@ -51,9 +51,10 @@ MiddlewareRegistry.register(store => next => action => {
|
||||||
dispatch(hideLoginDialog());
|
dispatch(hideLoginDialog());
|
||||||
|
|
||||||
const { authRequired, conference } = getState()['features/base/conference'];
|
const { authRequired, conference } = getState()['features/base/conference'];
|
||||||
|
const { passwordRequired } = getState()['features/base/connection'];
|
||||||
|
|
||||||
// Only end the meeting if we are not already inside and trying to upgrade.
|
// Only end the meeting if we are not already inside and trying to upgrade.
|
||||||
if (authRequired && !conference) {
|
if ((authRequired && !conference) || passwordRequired) {
|
||||||
dispatch(maybeRedirectToWelcomePage());
|
dispatch(maybeRedirectToWelcomePage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue