diff --git a/react/features/security/components/security-dialog/SecurityDialog.js b/react/features/security/components/security-dialog/SecurityDialog.js index 4d24cb837..51016b771 100644 --- a/react/features/security/components/security-dialog/SecurityDialog.js +++ b/react/features/security/components/security-dialog/SecurityDialog.js @@ -125,13 +125,18 @@ function mapStateToProps(state) { locked, password } = state['features/base/conference']; + const { + lockRoomGuestEnabled, + roomPasswordNumberOfDigits + } = state['features/base/config']; return { - _canEditPassword: isLocalParticipantModerator(state, state['features/base/config'].lockRoomGuestEnabled), + _canEditPassword: isLocalParticipantModerator(state, lockRoomGuestEnabled), _conference: conference, _dialIn: state['features/invite'], _locked: locked, _password: password, + _passwordNumberOfDigits: roomPasswordNumberOfDigits, _showE2ee: Boolean(e2eeSupported) }; }