change default auth encryption to argon2id instead of bcrypt
This commit is contained in:
parent
88092be0fb
commit
1d153a7b89
|
@ -17,7 +17,7 @@ REDIS_PORT=6379
|
|||
|
||||
# AUTH
|
||||
# encryption algorithm : BCRYPT / ARGON2I / ARGON2D / ARGON2ID
|
||||
ENCRYPTION_ALGORITHM=BCRYPT
|
||||
ENCRYPTION_ALGORITHM=ARGON2ID
|
||||
|
||||
# CARPOOL
|
||||
# default carpool departure time margin (in seconds)
|
||||
|
|
|
@ -6,5 +6,5 @@ export interface AuthConfig extends Config {
|
|||
}
|
||||
|
||||
export default registerAs('auth', () => ({
|
||||
encryptionAlgorithm: process.env.ENCRYPTION_ALGORITHM ?? 'BCRYPT',
|
||||
encryptionAlgorithm: process.env.ENCRYPTION_ALGORITHM ?? 'ARGON2ID',
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue