Skip to content

Commit

Permalink
Add link to ms package for examples for JWT expiresIn (#2242)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickmehaffy authored Sep 27, 2024
1 parent 626c7b4 commit 3200990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus/docs/dev-docs/plugins/users-permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.<br/>
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).

<Tabs groupId="js-ts">

Expand Down

0 comments on commit 3200990

Please sign in to comment.