Skip to content

Commit c385558

Browse files
committed
emerg: fix group-checking behavior
1 parent 3398e08 commit c385558

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/plugins/auth.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,6 @@ const authPlugin: FastifyPluginAsync = async (fastify, _options) => {
186186
}
187187
}
188188
}
189-
} else {
190-
throw new UnauthenticatedError({
191-
message: "Could not find groups or roles in token.",
192-
});
193189
}
194190
}
195191
// add user-specific role overrides

0 commit comments

Comments
 (0)