Files
e-tib.com/src/payload/access/authenticated.ts
Marc Mintel d14122005d Initial commit: E-TIB production hardening & E2E foundation
Former-commit-id: ef04fca3d76375630c05aac117bf586953f3b657
2026-04-28 19:11:38 +02:00

6 lines
129 B
TypeScript

import type { Access } from 'payload';
export const authenticated: Access = ({ req: { user } }) => {
return Boolean(user);
};