Skip to content

Commit f812bf7

Browse files
author
User
committed
nit
1 parent c251e37 commit f812bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/models/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class UserBase(SQLModel):
3030
...,
3131
sa_column=Column(String(255), unique=True, nullable=False, index=True),
3232
)
33-
is_active: bool = Field(default=False, nullable=False)
33+
is_active: bool = Field(default=True, nullable=False) # Changed from False to True so all new users are active by default
3434
is_verified: bool = Field(default=False, nullable=False)
3535
email_verified: bool = Field(default=False, nullable=False)
3636
full_name: Optional[str] = Field(default=None, max_length=255)

0 commit comments

Comments
 (0)