Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: Fixes navigating back to welcome page after clicking cancel on login window.

Дамян Минковccc1157df540
diff --git a/react/features/authentication/middleware.web.js b/react/features/authentication/middleware.web.js
index 900a907396..20d97d4ee7 100644
--- a/react/features/authentication/middleware.web.js
+++ b/react/features/authentication/middleware.web.js
@@ -51,9 +51,10 @@ MiddlewareRegistry.register(store => next => action => {
dispatch(hideLoginDialog());
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.
- if (authRequired && !conference) {
+ if ((authRequired && !conference) || passwordRequired) {
dispatch(maybeRedirectToWelcomePage());
}
}