mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Remove user creation secret
This commit is contained in:
@@ -3,7 +3,6 @@ LOG_DATABASE_URL: "mysql://now_test:mariadb_password@nowdb-db-anon:3306/now_log_
|
||||
|
||||
# Used for password generation: For staging or production, create randomized, actually secret values
|
||||
SECRET: abcdefg
|
||||
USER_CREATION_SECRET: abcdefg
|
||||
NOWDB_BACKEND_PORT: 4000
|
||||
|
||||
# Login valid means the login
|
||||
|
||||
@@ -3,7 +3,6 @@ LOG_DATABASE_URL: "mysql://now_test:mariadb_password@nowdb-db-dev:3306/now_log_t
|
||||
|
||||
# Used for password generation: For staging or production, create randomized, actually secret values
|
||||
SECRET: abcdefg
|
||||
USER_CREATION_SECRET: abcdefg
|
||||
NOWDB_BACKEND_PORT: 4000
|
||||
|
||||
# Login valid means the login
|
||||
|
||||
@@ -8,7 +8,6 @@ export const GRACE_PERIOD_SECONDS = parseInt(process.env.GRACE_PERIOD_MINUTES ||
|
||||
|
||||
export const MARIADB_USER = process.env.MARIADB_USER as string
|
||||
export const MARIADB_PORT = parseInt(process.env.MARIADB_PORT as string)
|
||||
export const USER_CREATION_SECRET = process.env.USER_CREATION_SECRET as string
|
||||
|
||||
/* Running environment:
|
||||
dev = development or testing, locally or in GitHub actions
|
||||
@@ -35,7 +34,6 @@ const requiredEnvs = {
|
||||
LOGIN_VALID_SECONDS,
|
||||
GRACE_PERIOD_SECONDS,
|
||||
MARIADB_PORT,
|
||||
USER_CREATION_SECRET,
|
||||
BACKEND_MODE: RUNNING_ENV,
|
||||
NOW_DB_NAME,
|
||||
LOG_DB_NAME,
|
||||
|
||||
Reference in New Issue
Block a user