hotFix: comment error logIn
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
54e8e6a27d
commit
9c6b594426
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue