Adjust log-level for auth middleware
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
31f104f51b
commit
bf9b0ec8d0
@ -14,7 +14,7 @@ module.exports = async function authCheck(req, res, next) {
|
||||
var result = (await utils.isAuthed(uuid)) || false;
|
||||
if (!result) {
|
||||
req.isAuthed = false;
|
||||
log.out("authMiddlewares: User !isAuthed", "warn");
|
||||
log.out("authMiddlewares: User !isAuthed", "dbug");
|
||||
} else {
|
||||
req.isAuthed = true;
|
||||
log.out("authMiddlewares: User isAuthed", "dbug");
|
||||
|
Loading…
Reference in New Issue
Block a user