This commit is contained in:
parent
adc1cd887b
commit
83ae0379b5
|
@ -127,7 +127,7 @@ module.exports = function(Self) {
|
|||
Self.signInValidate = (user, userToken) => {
|
||||
const [[key, value]] = Object.entries(Self.userUses(user));
|
||||
if (userToken[key].toLowerCase() !== value.toLowerCase()) {
|
||||
console.error('ERROR!!! - Signin with other user', _userToken, _user);
|
||||
console.error('ERROR!!! - Signin with other user', userToken, user);
|
||||
throw new UserError('Try again');
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue