mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 19:28:51 +00:00
Add parseInt to token expiration
This commit is contained in:
@@ -18,7 +18,7 @@ const tokenSchema = new Schema<IToken>({
|
||||
},
|
||||
createdAt: {
|
||||
type: Date,
|
||||
expires: EMAIL_TOKEN_LIFETIME,
|
||||
expires: parseInt(EMAIL_TOKEN_LIFETIME),
|
||||
default: Date.now
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user