diff --git a/react/features/authentication/actions.any.js b/react/features/authentication/actions.any.js index 5dce52cf1..681c50c62 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, getState: Function) => { - const { password: roomPassword } - = getState()['features/base/conference']; + return (dispatch: Dispatch) => { const process = conference.authenticateAndUpgradeRole({ id, password, - roomPassword, onLoginSuccessful() { // When the login succeeds, the process has completed half