Moved model into parent folder, npm update, small auth improvement
This commit is contained in:
@ -42,6 +42,6 @@ export async function Authentication(socket: TSocket, next: any) {
|
||||
})
|
||||
} else {
|
||||
logger.warn('No token provided')
|
||||
next(new Error('Authentication error'))
|
||||
return next(new Error('Authentication error'))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user