mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
fix: allow audit logs to be increased up to the license maximum (#24061)
This commit is contained in:
parent
f34003be2c
commit
20c174685c
@ -55,7 +55,7 @@ const getRetentionDays = (strapi: Core.Strapi) => {
|
||||
}
|
||||
|
||||
// Allow users to override the license retention days, but not to increase it
|
||||
if (userRetentionDays && userRetentionDays < licenseRetentionDays) {
|
||||
if (userRetentionDays && userRetentionDays <= licenseRetentionDays) {
|
||||
return userRetentionDays;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user