Summary
By security reasons we need ability to create Transfer Tokens for 1 day, and forbid any other lifespan options. Is possible to customize lifespans for Transfer Tokens? (current options are 7 / 30/ 90 days and unlimited but they are hardcoded).
Why is it needed?
Security reasons
Suggested solution(s)
export or externalize TRANSFER_TOKEN_LIFESPANS on https://github.com/strapi/strapi/blob/develop/packages/core/admin/server/src/services/constants.ts#L52 so we can configure our values
Related issue(s)/PR(s)
No response
Summary
By security reasons we need ability to create Transfer Tokens for 1 day, and forbid any other lifespan options. Is possible to customize lifespans for Transfer Tokens? (current options are 7 / 30/ 90 days and unlimited but they are hardcoded).
Why is it needed?
Security reasons
Suggested solution(s)
export or externalize TRANSFER_TOKEN_LIFESPANS on https://github.com/strapi/strapi/blob/develop/packages/core/admin/server/src/services/constants.ts#L52 so we can configure our values
Related issue(s)/PR(s)
No response