mirror of https://github.com/jumpserver/jumpserver
[Delete] 删除 system user一些属性
parent
610c9c5149
commit
2ae57a7970
|
@ -284,7 +284,7 @@ class SystemUserForm(forms.ModelForm):
|
|||
fields = [
|
||||
'name', 'username', 'protocol', 'auto_generate_key', 'password',
|
||||
'private_key_file', 'auth_method', 'auto_push', 'sudo',
|
||||
'comment', 'shell', 'home', 'uid',
|
||||
'comment', 'shell'
|
||||
]
|
||||
widgets = {
|
||||
'name': forms.TextInput(attrs={'placeholder': _('Name')}),
|
||||
|
|
|
@ -69,9 +69,7 @@
|
|||
</div>
|
||||
<h3>{% trans 'Other' %}</h3>
|
||||
{{ form.sudo|bootstrap_horizontal }}
|
||||
{{ form.home|bootstrap_horizontal }}
|
||||
{{ form.shell|bootstrap_horizontal }}
|
||||
{{ form.uid|bootstrap_horizontal }}
|
||||
{{ form.comment|bootstrap_horizontal }}
|
||||
<div class="form-group">
|
||||
<div class="col-sm-4 col-sm-offset-2">
|
||||
|
|
Loading…
Reference in New Issue