1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-25 15:45:23 +00:00

hide compute login password for tcp/tls connections

This commit is contained in:
catborise 2020-07-23 13:49:29 +03:00
parent 015719b952
commit 6a8d713ae6

View file

@ -12,6 +12,7 @@ class TcpComputeForm(forms.ModelForm):
class Meta: class Meta:
model = Compute model = Compute
widgets = {'password': forms.PasswordInput()}
fields = '__all__' fields = '__all__'
@ -30,6 +31,7 @@ class TlsComputeForm(forms.ModelForm):
class Meta: class Meta:
model = Compute model = Compute
widgets = {'password': forms.PasswordInput()}
fields = '__all__' fields = '__all__'