refs #6434 fix: console.log
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2023-11-16 12:28:35 +01:00
parent adc1cd887b
commit 83ae0379b5
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}
};