fix auth configuration name
This commit is contained in:
parent
f54eca303b
commit
5eb088dc94
|
@ -16,7 +16,7 @@ REDIS_PORT=6379
|
||||||
# DEFAULT CONFIGURATION
|
# DEFAULT CONFIGURATION
|
||||||
|
|
||||||
# AUTH
|
# AUTH
|
||||||
# encryption algorithm : BCRYPT / ARGON2 / ARGON2I / ARGON2D / ARGON2ID
|
# encryption algorithm : BCRYPT / ARGON2I / ARGON2D / ARGON2ID
|
||||||
ENCRYPTION_ALGORITHM=BCRYPT
|
ENCRYPTION_ALGORITHM=BCRYPT
|
||||||
|
|
||||||
# CARPOOL
|
# CARPOOL
|
||||||
|
|
|
@ -5,6 +5,6 @@ export interface AuthConfig extends Config {
|
||||||
encryptionAlgorithm: string;
|
encryptionAlgorithm: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default registerAs('match', () => ({
|
export default registerAs('auth', () => ({
|
||||||
encryptionAlgorithm: process.env.ENCRYPTION_ALGORITHM ?? 'BCRYPT',
|
encryptionAlgorithm: process.env.ENCRYPTION_ALGORITHM ?? 'BCRYPT',
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Reference in New Issue