mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-12 21:39:18 +00:00
perf: Change secret after successful login
This commit is contained in:
@@ -33,7 +33,10 @@ class CommandFilterACLSerializer(BaseSerializer, BulkOrgResourceModelSerializer)
|
||||
model = CommandFilterACL
|
||||
fields = BaseSerializer.Meta.fields + ['command_groups']
|
||||
action_choices_exclude = [
|
||||
ActionChoices.notice, ActionChoices.face_verify, ActionChoices.face_online
|
||||
ActionChoices.notice,
|
||||
ActionChoices.face_verify,
|
||||
ActionChoices.face_online,
|
||||
ActionChoices.change_secret
|
||||
]
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user