Skip to content

Commit 50525bc

Browse files
fix: Set optional second email length to 0
1 parent 60ab60a commit 50525bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

okta/models/user_profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ class UserProfile(BaseModel):
189189
alias="profileUrl",
190190
)
191191
second_email: Optional[
192-
Annotated[str, Field(min_length=5, strict=True, max_length=100)]
192+
Annotated[str, Field(min_length=0, strict=True, max_length=100)]
193193
] = Field(
194194
default=None,
195195
description="The secondary email address of the user typically used for account recovery. For validation, "

0 commit comments

Comments
 (0)