Fix auth check
This commit is contained in:
parent
33ede3ba5e
commit
cbf342f239
@ -16,7 +16,7 @@ export async function loader({ context }: { context: RequestContext }) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (
|
if (
|
||||||
[1 << 3, 1 << 4, 1 << 12].find(
|
![1 << 3, 1 << 4, 1 << 12].find(
|
||||||
(p) => context.data.current_user.permissions & p,
|
(p) => context.data.current_user.permissions & p,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user