mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-20 07:19:03 +00:00
我擦
This commit is contained in:
@@ -471,8 +471,8 @@ def chgUser(request):
|
||||
user = User.objects.get(username=username)
|
||||
groups = user.group.all()
|
||||
|
||||
is_admin = "checked" if user.is_admin else is_admin = ''
|
||||
is_superuser = 'checked' if user.is_superuser else is_admin = ''
|
||||
is_admin = "checked" if user.is_admin else ''
|
||||
is_superuser = 'checked' if user.is_superuser else ''
|
||||
|
||||
if request.method == "GET":
|
||||
if not username:
|
||||
|
Reference in New Issue
Block a user