From 3200990b4d4dc8ffaf1354ec97197e7a4016f73d Mon Sep 17 00:00:00 2001 From: DMehaffy Date: Fri, 27 Sep 2024 08:00:21 -0700 Subject: [PATCH] Add link to ms package for examples for JWT expiresIn (#2242) --- docusaurus/docs/dev-docs/plugins/users-permissions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/dev-docs/plugins/users-permissions.md b/docusaurus/docs/dev-docs/plugins/users-permissions.md index 3487ee2b52..d788c0ed27 100644 --- a/docusaurus/docs/dev-docs/plugins/users-permissions.md +++ b/docusaurus/docs/dev-docs/plugins/users-permissions.md @@ -161,7 +161,7 @@ Available options: - `jwtSecret`: random string used to create new JWTs, typically set using the `JWT_SECRET` [environment variable](/dev-docs/configurations/environment#strapi-s-environment-variables). - `jwt.expiresIn`: expressed in seconds or a string describing a time span.
- Eg: 60, "45m", "10h", "2 days", "7d", "2y". A numeric value is interpreted as a seconds count. If you use a string be sure you provide the time units (minutes, hours, days, years, etc), otherwise milliseconds unit is used by default ("120" is equal to "120ms"). + Eg: 60, "45m", "10h", "2 days", "7d", "2y". A numeric value is interpreted as a seconds count. If you need more advanced examples please see the [ms package](https://github.com/vercel/ms).