mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-14 06:19:17 +00:00
perf: 统一 connect token 配置名称
This commit is contained in:
@@ -21,7 +21,7 @@ from terminal.models import Applet
|
||||
|
||||
|
||||
def date_expired_default():
|
||||
return timezone.now() + timedelta(seconds=settings.CONNECTION_TOKEN_EXPIRATION)
|
||||
return timezone.now() + timedelta(seconds=settings.CONNECTION_TOKEN_ONETIME_EXPIRATION)
|
||||
|
||||
|
||||
class ConnectionToken(JMSOrgBaseModel):
|
||||
|
Reference in New Issue
Block a user