This commit is contained in:
parent
48b82b02ca
commit
ed6c0924d7
|
@ -141,10 +141,8 @@ module.exports = function(Self) {
|
|||
ip: ctx.req.ip,
|
||||
owner: isOwner
|
||||
});
|
||||
if (!isOwner) {
|
||||
console.error('ERROR!!! - SignIn with other user', userToken, user);
|
||||
if (!isOwner)
|
||||
throw new UserError('Try again');
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue