{ _id: this.id, username: this.username, }, process.env.JWT_SECRET, // 두 번째 파라미터에는 JWT 암호 를 넣습니다. { expiresIn: '3d', // 3일 동안 유효함 } ...
確定! 回上一頁