Remove user creation secret

This commit is contained in:
ShootingStar91
2024-07-19 17:33:46 +03:00
parent da83e0c00c
commit 8a812ebdf1
3 changed files with 0 additions and 4 deletions
-1
View File
@@ -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
-1
View File
@@ -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
-2
View File
@@ -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,