Don't send empty body on authentication
This commit is contained in:
parent
53bc4d945a
commit
e229688508
|
@ -39,7 +39,7 @@ class Authenticator {
|
|||
this.logger.warn(__('- Referer: %s', req.headers.referer));
|
||||
return res.send(ERROR_OBJ);
|
||||
}
|
||||
res.send();
|
||||
res.send({});
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue