mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-05-05 12:32:28 +00:00
fix: LOG_KEEP_MIN_DAYS
This commit is contained in:
@@ -4,8 +4,7 @@ from rest_framework import serializers
|
||||
|
||||
__all__ = ['CleaningSerializer']
|
||||
|
||||
MIN_VALUE = 180 if settings.LIMIT_SUPER_PRIV else 1
|
||||
|
||||
MIN_VALUE= settings.LOG_KEEP_MIN_DAYS
|
||||
|
||||
class CleaningSerializer(serializers.Serializer):
|
||||
PREFIX_TITLE = _('Period clean')
|
||||
|
||||
Reference in New Issue
Block a user