Removed console logs
This commit is contained in:
@@ -18,7 +18,6 @@ const authchecker = async (action: Action, permissions: string | string[]) => {
|
||||
try {
|
||||
jwtPayload = <any>jwt.verify(provided_token, config.jwt_secret);
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
throw new IllegalJWTError()
|
||||
}
|
||||
const count = await getConnectionManager().get().getRepository(User).count({ id: jwtPayload["userdetails"]["id"], refreshTokenCount: jwtPayload["userdetails"]["refreshTokenCount"] })
|
||||
|
||||
Reference in New Issue
Block a user