From 6a8d713ae617625a8019a00730df992faa903386 Mon Sep 17 00:00:00 2001 From: catborise Date: Thu, 23 Jul 2020 13:49:29 +0300 Subject: [PATCH] hide compute login password for tcp/tls connections --- computes/forms.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/computes/forms.py b/computes/forms.py index 8bf6d07..5006766 100644 --- a/computes/forms.py +++ b/computes/forms.py @@ -12,6 +12,7 @@ class TcpComputeForm(forms.ModelForm): class Meta: model = Compute + widgets = {'password': forms.PasswordInput()} fields = '__all__' @@ -30,6 +31,7 @@ class TlsComputeForm(forms.ModelForm): class Meta: model = Compute + widgets = {'password': forms.PasswordInput()} fields = '__all__'