Revert "Fixed isActive and isSuperuser not changing when creating user"
This reverts commit b454b8c7ce.
This commit is contained in:
parent
b454b8c7ce
commit
967483e59c
1 changed files with 0 additions and 2 deletions
|
|
@ -28,8 +28,6 @@ class User(SQLModelSerializable, table=True):
|
||||||
class UserCreate(SQLModel):
|
class UserCreate(SQLModel):
|
||||||
username: str = Field()
|
username: str = Field()
|
||||||
password: str = Field()
|
password: str = Field()
|
||||||
is_active: bool = Field(default=False)
|
|
||||||
is_superuser: bool = Field(default=False)
|
|
||||||
|
|
||||||
|
|
||||||
class UserRead(SQLModel):
|
class UserRead(SQLModel):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue