diff --git a/react/features/security/components/security-dialog/PasswordSection.js b/react/features/security/components/security-dialog/PasswordSection.js index 083ddfcd3..9d182aa14 100644 --- a/react/features/security/components/security-dialog/PasswordSection.js +++ b/react/features/security/components/security-dialog/PasswordSection.js @@ -106,7 +106,11 @@ function PasswordSection({ */ function onPasswordSave() { if (formRef.current) { - formRef.current.querySelector('form').requestSubmit(); + const { value } = formRef.current.querySelector('form > input'); + + if (value) { + onPasswordSubmit(value); + } } }