mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 23:20:37 +00:00
fix: 修复 applet 账号选择问题
This commit is contained in:
@@ -166,6 +166,7 @@ class UsernameHintsAPI(APIView):
|
||||
|
||||
top_accounts = Account.objects \
|
||||
.exclude(username__startswith='jms_') \
|
||||
.exclude(username__startswith='js_') \
|
||||
.filter(username__icontains=query) \
|
||||
.filter(asset__in=assets) \
|
||||
.values('username') \
|
||||
|
Reference in New Issue
Block a user