Revert "Fixed isActive and isSuperuser not changing when creating user"

This reverts commit b454b8c7ce.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-09-11 17:29:34 -03:00
commit 967483e59c

View file

@ -28,8 +28,6 @@ class User(SQLModelSerializable, table=True):
class UserCreate(SQLModel):
username: str = Field()
password: str = Field()
is_active: bool = Field(default=False)
is_superuser: bool = Field(default=False)
class UserRead(SQLModel):