www: add feature to enforce login on transcripts record/past/browse

This commit is contained in:
2023-10-18 17:18:16 +02:00
committed by Mathieu Virbel
parent 168e4d6fa4
commit ef2f579fc1
3 changed files with 77 additions and 61 deletions

View File

@@ -9,3 +9,7 @@ export function featPrivacy() {
export function featBrowse() {
return process.env.NEXT_PUBLIC_FEAT_BROWSE === "1";
}
export function featRequireLogin() {
return process.env.NEXT_PUBLIC_FEAT_LOGIN_REQUIRED === "1";
}