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(auth) simplify auth-and-upgrade procedure

Saúl Ibarra Corretgé31348179d4c2
diff --git a/react/features/authentication/actions.any.js b/react/features/authentication/actions.any.js
index 5dce52cf1d..681c50c62d 100644
--- a/react/features/authentication/actions.any.js
+++ b/react/features/authentication/actions.any.js
@@ -29,14 +29,11 @@ export function authenticateAndUpgradeRole(
id: string,
password: string,
conference: Object) {
- return (dispatch: Dispatch<any>, getState: Function) => {
- const { password: roomPassword }
- = getState()['features/base/conference'];
+ return (dispatch: Dispatch<any>) => {
const process
= conference.authenticateAndUpgradeRole({
id,
password,
- roomPassword,
onLoginSuccessful() {
// When the login succeeds, the process has completed half