Skip to content

Commit

Permalink
Remove the required fields in the user model.
Browse files Browse the repository at this point in the history
  • Loading branch information
joel Ngahu authored and joel Ngahu committed May 14, 2019
1 parent 248f1d5 commit bd154bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class User(AbstractBaseUser):
# notice the absence of a "Password field", that's built in.

USERNAME_FIELD = 'phone_number'
REQUIRED_FIELDS = ['']
# REQUIRED_FIELDS = ['']

objects = UserManager()

Expand Down

0 comments on commit bd154bd

Please sign in to comment.