perf: sso token 最小60秒 (#8642)

Co-authored-by: feng626 <1304903146@qq.com>
pull/8644/head
fit2bot 2 years ago committed by GitHub
parent ca49029d8f
commit 046356728a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,3 @@
from django.utils.translation import ugettext_lazy as _
from rest_framework import serializers
@ -14,5 +13,5 @@ class SSOSettingSerializer(serializers.Serializer):
)
AUTH_SSO_AUTHKEY_TTL = serializers.IntegerField(
required=False, label=_('SSO auth key TTL'), help_text=_("Unit: second"),
min_value=1, max_value=60*30
min_value=60, max_value=60 * 30
)

Loading…
Cancel
Save