refs #6434 feat: improve signIn method #1867
|
@ -141,10 +141,8 @@ module.exports = function(Self) {
|
|||
ip: ctx.req.ip,
|
||||
owner: isOwner
|
||||
jsegarra marked this conversation as resolved
|
||||
});
|
||||
if (!isOwner) {
|
||||
console.error('ERROR!!! - SignIn with other user', userToken, user);
|
||||
if (!isOwner)
|
||||
throw new UserError('Try again');
|
||||
jgallego
commented
quitar quitar
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
userName : user