Harden CMS security and theme contrast

This commit is contained in:
2026-07-11 20:27:20 +02:00
parent 2465ff2170
commit 4a1e1115b3
57 changed files with 1023 additions and 231 deletions
+8
View File
@@ -0,0 +1,8 @@
export const USER_TOKENABLE_TYPE = "App\\Models\\User";
export function personalTokenScope(userId: number) {
return {
tokenableId: BigInt(userId),
tokenableType: USER_TOKENABLE_TYPE,
} as const;
}