fix auth configuration name

This commit is contained in:
Sylvain Briat
2023-11-15 09:48:10 +01:00
parent f54eca303b
commit 5eb088dc94
2 changed files with 2 additions and 2 deletions

View File

@@ -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',
}));