From a8b86123048881bdcbd541cd7d487c28ce9620b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 16 Jun 2020 14:21:33 +0200 Subject: [PATCH] rn,auth: trim the username Fixes: https://github.com/jitsi/jitsi-meet/issues/5673 --- react/features/authentication/components/LoginDialog.native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/authentication/components/LoginDialog.native.js b/react/features/authentication/components/LoginDialog.native.js index ac2fbada0..3d1ebc149 100644 --- a/react/features/authentication/components/LoginDialog.native.js +++ b/react/features/authentication/components/LoginDialog.native.js @@ -264,7 +264,7 @@ class LoginDialog extends Component { */ _onUsernameChange(text) { this.setState({ - username: text + username: text.trim() }); }