summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorCarlos Tadeu Panato Junior <ctadeu@gmail.com>2017-03-23 11:35:50 +0100
committerGeorge Goldberg <george@gberg.me>2017-03-23 10:35:50 +0000
commit41ebdb6441348c383efb1a032804ba900a8e98a3 (patch)
tree52729e4cdc27f8a981bbb38bd56bc6dcac79ee9e /webapp
parent2a753949f10f70de26dba9fbff7c5ef9583d6c86 (diff)
downloadchat-41ebdb6441348c383efb1a032804ba900a8e98a3.tar.gz
chat-41ebdb6441348c383efb1a032804ba900a8e98a3.tar.bz2
chat-41ebdb6441348c383efb1a032804ba900a8e98a3.zip
fix - make loginId always lowercase (#5613)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/login/login_controller.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/login/login_controller.jsx b/webapp/components/login/login_controller.jsx
index 01da0199f..1d812147a 100644
--- a/webapp/components/login/login_controller.jsx
+++ b/webapp/components/login/login_controller.jsx
@@ -89,7 +89,7 @@ export default class LoginController extends React.Component {
}
// don't trim the password since we support spaces in passwords
- loginId = loginId.trim();
+ loginId = loginId.trim().toLowerCase();
if (!loginId) {
// it's slightly weird to be constructing the message ID, but it's a bit nicer than triply nested if statements