From 41ebdb6441348c383efb1a032804ba900a8e98a3 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Thu, 23 Mar 2017 11:35:50 +0100 Subject: fix - make loginId always lowercase (#5613) --- webapp/components/login/login_controller.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/components/login') 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 -- cgit v1.2.3-1-g7c22