diff --git a/db.sqlite3 b/db.sqlite3 index 950f319d..934efbea 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ 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')