From 8ffa08caf714b66b71fe4128f8eccfaab1076937 Mon Sep 17 00:00:00 2001 From: Prachit Mhalgi Date: Wed, 30 Nov 2022 01:51:01 -0500 Subject: [PATCH] Fixed Password visibility issue --- db.sqlite3 | Bin 131072 -> 131072 bytes user/forms.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db.sqlite3 b/db.sqlite3 index 950f319de790d04c5bf68bd3d9e0121c0ca305be..934efbeac357628880348f063061afdc7e21e8f8 100644 GIT binary patch delta 419 zcmZo@;Am*zm>|vgdZLUoCp{Ag?lYvj1Gsdgsgx?+{;ePahw5 zgD^j@An#&hA0O{L-w;Q4Z?}w)yr|5O+yeJxXQvduK(|0Ix8y>{%(5)UoWi7BuiTIv z&(e&l%Iy3SAImVWkl=i`N~fSa)6`%WH?Qo(+^F27+=`6ET+{4ALr4G0H1CLFE5iZ< z_cCXz%plM7^el@q*O0=1%xpiOq%vLCu$)}eDksCRDs#WeWap%+NViJ&c&EZ_BLgEN zT|*!;Q7|yGGBvO=w9qrMG_W)>YZ7E+^=&qEocv(D!e;9^Cz<(J`8^o;bNMInd+^`k z-@aK8<}6s{!1?gV6v0 delta 359 zcmV~$y-vbF003YbFd+s#4WkZjPEA^%D!N!p3ujw?dZBrE<=O2<;^<+Y_vfadHFv_2!`@cDeXc^6A$^IaD@R#tC-R&w%Wo0RK0$O2jcFN*xQ9@~9`~FIgm~K`z9xqp z??Nf)i`w9TH<46eOoOzvl7qRS=1A6%X-OQL&B2B)+GN1B^r|*vE_$V0=eh-Ze&LjmOl%M^_aJvy=vEzW30zEaFdtmaj(R;dLwe$Da^ z-?NSR-t$*HnE*HjFu0#DzwCm$m(6QD`@l2maX*y+(-`;!uV4y(=Bq&n9;biQ#XrZ# Bch>*_ diff --git a/user/forms.py b/user/forms.py index e04bb420..3b7ddfed 100644 --- a/user/forms.py +++ b/user/forms.py @@ -9,7 +9,7 @@ class RegisterForm(forms.ModelForm): first_name = forms.CharField(required=True, widget=forms.TextInput(attrs={'placeholder': 'First Name', 'class': 'form-control'})) last_name = forms.CharField(required=True, widget=forms.TextInput(attrs={'placeholder': 'Last Name', 'class': 'form-control'})) email = forms.EmailField(required=True, max_length=60, widget=forms.EmailInput(attrs={'placeholder': 'abc@mail.com', 'class': 'form-control'})) - password1 = forms.CharField(required=True, widget=forms.TextInput(attrs={'placeholder': 'Password','class': "form-control"})) + password1 = forms.CharField(required=True, widget=forms.PasswordInput(attrs={'placeholder': 'Password','class': "form-control"})) phone_number = forms.CharField(required=True, max_length=11, widget=forms.TextInput(attrs={'placeholder': 'Phone Number', 'class': 'form-control'})) class Meta: @@ -26,7 +26,7 @@ class Meta: class LoginForm(forms.ModelForm): username = forms.CharField(required=True, widget=forms.TextInput(attrs={'placeholder': 'Enter your username', 'class': "form-control"})) - password = forms.CharField(required=True, widget=forms.TextInput(attrs={'placeholder': 'Password', 'class': "form-control"})) + password = forms.CharField(required=True, widget=forms.PasswordInput(attrs={'placeholder': 'Password', 'class': "form-control"})) class Meta: model = User fields = ('username', 'password')