Use a new env variable to determine whether the user ID should be set to 0 for unauthenticated users
This commit is contained in:
parent
4c36a950a7
commit
f5f718a84a
4 changed files with 20 additions and 13 deletions
|
|
@ -16,4 +16,7 @@ export const WEBROOT = process.env.WEBROOT ?? "";
|
|||
|
||||
export const LANGUAGE = process.env.LANGUAGE?.toLowerCase() || "en";
|
||||
|
||||
export const MAX_CONVERT_PROCESS = process.env.MAX_CONVERT_PROCESS && Number(process.env.MAX_CONVERT_PROCESS) > 0 ? Number(process.env.MAX_CONVERT_PROCESS) : 0
|
||||
export const MAX_CONVERT_PROCESS = process.env.MAX_CONVERT_PROCESS && Number(process.env.MAX_CONVERT_PROCESS) > 0 ? Number(process.env.MAX_CONVERT_PROCESS) : 0
|
||||
|
||||
export const UNAUTHENTICATED_USER_SHARING =
|
||||
process.env.UNAUTHENTICATED_USER_SHARING?.toLowerCase() === "true" || false;
|
||||
Loading…
Add table
Add a link
Reference in a new issue