fix - make loginId always lowercase (#5613)
Этот коммит содержится в:
коммит произвёл
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
|
// don't trim the password since we support spaces in passwords
|
||||||
loginId = loginId.trim();
|
loginId = loginId.trim().toLowerCase();
|
||||||
|
|
||||||
if (!loginId) {
|
if (!loginId) {
|
||||||
// it's slightly weird to be constructing the message ID, but it's a bit nicer than triply nested if statements
|
// it's slightly weird to be constructing the message ID, but it's a bit nicer than triply nested if statements
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user