mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-27 02:14:50 +10:00
fixes #2552, implement FLAG_DISABLE_SIGNUPS and FLAG_DISABLE_EMAIL_AUTH
This commit is contained in:
Vendored
+8
-1
@@ -16,6 +16,9 @@ declare namespace NodeJS {
|
||||
// Authentication
|
||||
AUTH_SECRET: string;
|
||||
|
||||
// Printer
|
||||
PRINTER_ENDPOINT?: string;
|
||||
|
||||
// Database
|
||||
DATABASE_URL: string;
|
||||
|
||||
@@ -41,9 +44,13 @@ declare namespace NodeJS {
|
||||
OAUTH_CLIENT_SECRET?: string;
|
||||
OAUTH_DISCOVERY_URL?: string;
|
||||
OAUTH_AUTHORIZATION_URL?: string;
|
||||
OAUTH_TOKEN_URL?: string;
|
||||
OAUTH_USER_INFO_URL?: string;
|
||||
OAUTH_SCOPES?: string;
|
||||
|
||||
// Feature Flags
|
||||
FLAG_DEBUG_PRINTER: string | boolean;
|
||||
FLAG_DISABLE_SIGNUP: string | boolean;
|
||||
FLAG_DISABLE_SIGNUPS: string | boolean;
|
||||
FLAG_DISABLE_EMAIL_AUTH: string | boolean;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user