Skip to content

Commit

Permalink
Merge pull request #7 from Prachit99/dev
Browse files Browse the repository at this point in the history
Fixed Password visibility issue
  • Loading branch information
sankettangade authored Nov 30, 2022
2 parents 08f3ec0 + 8ffa08c commit 5d2bd2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified db.sqlite3
Binary file not shown.
4 changes: 2 additions & 2 deletions user/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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': '[email protected]', '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:
Expand All @@ -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')

0 comments on commit 5d2bd2f

Please sign in to comment.