refs #6434 feat: username.toLowerCase()
This commit is contained in:
parent
c6b5d7f5a4
commit
3c8ed3ff51
|
@ -131,7 +131,7 @@ module.exports = function(Self) {
|
|||
|
||||
const userToken = await token.user.get();
|
||||
|
||||
if (userToken.username !== user) {
|
||||
if (userToken.username.toLowerCase() !== user.toLowerCase()) {
|
||||
console.error('ERROR!!! - Signin with other user', userToken, user);
|
||||
throw new UserError('Try again');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue