hotFix: comment error logIn
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2023-11-16 10:04:34 +01:00
parent 54e8e6a27d
commit 9c6b594426
1 changed files with 4 additions and 4 deletions

View File

@ -131,10 +131,10 @@ module.exports = function(Self) {
const userToken = await token.user.get();
if (userToken.username.toLowerCase() !== user.toLowerCase()) {
console.error('ERROR!!! - Signin with other user', userToken, user);
throw new UserError('Try again');
}
// if (userToken.username.toLowerCase() !== user.toLowerCase()) {
// console.error('ERROR!!! - Signin with other user', userToken, user);
// throw new UserError('Try again');
// }
try {
await Self.app.models.Account.sync(userToken.name, password);