fix - make loginId always lowercase (#5613)

Этот коммит содержится в:
Carlos Tadeu Panato Junior
2017-03-23 11:35:50 +01:00
коммит произвёл George Goldberg
родитель 2a753949f1
Коммит 41ebdb6441

Просмотреть файл

@@ -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