Merge branch 'auth' into 'main'
Fix auth config name See merge request v3/service/configuration!34
This commit is contained in:
commit
1bd50b7642
|
@ -16,7 +16,7 @@ REDIS_PORT=6379
|
|||
# DEFAULT CONFIGURATION
|
||||
|
||||
# AUTH
|
||||
# encryption algorithm : BCRYPT / ARGON2 / ARGON2I / ARGON2D / ARGON2ID
|
||||
# encryption algorithm : BCRYPT / ARGON2I / ARGON2D / ARGON2ID
|
||||
ENCRYPTION_ALGORITHM=BCRYPT
|
||||
|
||||
# CARPOOL
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@mobicoop/configuration",
|
||||
"version": "2.5.0",
|
||||
"version": "2.5.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@mobicoop/configuration",
|
||||
"version": "2.5.0",
|
||||
"version": "2.5.1",
|
||||
"license": "AGPL",
|
||||
"dependencies": {
|
||||
"@grpc/grpc-js": "^1.9.9",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@mobicoop/configuration",
|
||||
"version": "2.5.0",
|
||||
"version": "2.5.1",
|
||||
"description": "Mobicoop V3 Configuration Service",
|
||||
"author": "sbriat",
|
||||
"private": true,
|
||||
|
|
|
@ -5,6 +5,6 @@ export interface AuthConfig extends Config {
|
|||
encryptionAlgorithm: string;
|
||||
}
|
||||
|
||||
export default registerAs('match', () => ({
|
||||
export default registerAs('auth', () => ({
|
||||
encryptionAlgorithm: process.env.ENCRYPTION_ALGORITHM ?? 'BCRYPT',
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue