diff --git a/confiture-rest-api/src/auth/auth.service.ts b/confiture-rest-api/src/auth/auth.service.ts index 6380cb305..683a090b1 100644 --- a/confiture-rest-api/src/auth/auth.service.ts +++ b/confiture-rest-api/src/auth/auth.service.ts @@ -225,7 +225,7 @@ export class AuthService { email, jti, }; - const verificationToken = this.jwt.signAsync(payload, { expiresIn: '1h' }); + const verificationToken = this.jwt.signAsync(payload, { expiresIn: '24h' }); return verificationToken; } @@ -296,7 +296,7 @@ export class AuthService { email, jti, }; - const verificationToken = this.jwt.signAsync(payload, { expiresIn: '1h' }); + const verificationToken = this.jwt.signAsync(payload, { expiresIn: '24h' }); return verificationToken; } @@ -401,7 +401,7 @@ export class AuthService { const payload: RequestPasswordResetJwtPayload = { email, }; - const verificationToken = this.jwt.signAsync(payload, { expiresIn: '1h' }); + const verificationToken = this.jwt.signAsync(payload, { expiresIn: '24h' }); return verificationToken; }