gfd
This commit is contained in:
parent
83e029092b
commit
19a1f907a7
7 changed files with 11 additions and 11 deletions
|
@ -146,7 +146,7 @@ class User(Base):
|
|||
kwargs["passhash"] = self.hash_password(kwargs["password"])
|
||||
kwargs.pop("password")
|
||||
|
||||
kwargs["created_utc"] = int(time.time())
|
||||
if "created_utc" not in kwargs: kwargs["created_utc"] = int(time.time())
|
||||
|
||||
super().__init__(**kwargs)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue