Skip to content

Commit

Permalink
Update the superuser name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmoud-Emad committed Oct 30, 2023
1 parent 344f365 commit e93dcc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/cshr/models/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ def create_user(self, email: str, password: str) -> "User":
birthday=datetime.datetime.now(),
location=office,
user_type=USER_TYPE.ADMIN,
first_name="Codescalers",
last_name="Admin",
)
user.set_password(password)
user.save(using=self._db)
Expand Down

0 comments on commit e93dcc4

Please sign in to comment.