Aktueller Stand

This commit is contained in:
2026-01-22 19:05:45 +01:00
parent 85dee61a4d
commit e280e4eadb
1967 changed files with 397327 additions and 74093 deletions

View File

@@ -235,7 +235,7 @@ module.exports = function createSigner(options) {
if (typeof expiresIn === 'string') {
expiresIn = parseMs(expiresIn)
}
if (typeof expiresIn !== 'number' || expiresIn < 0) {
if (typeof expiresIn !== 'number') {
throw new TokenError(
TokenError.codes.invalidOption,
'The expiresIn option must be a positive number or a valid string.'