Fix auth check

This commit is contained in:
Regalijan 2024-09-18 13:50:09 -04:00
parent 33ede3ba5e
commit cbf342f239
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -16,7 +16,7 @@ export async function loader({ context }: { context: RequestContext }) {
});
if (
[1 << 3, 1 << 4, 1 << 12].find(
![1 << 3, 1 << 4, 1 << 12].find(
(p) => context.data.current_user.permissions & p,
)
)