Skip to content

Commit c9afcb8

Browse files
committed
Fix the password transfer schema type
1 parent b93ff19 commit c9afcb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/admin/schema/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class AuthSchemaBase(SchemaBase):
1616
"""用户认证基础模型"""
1717

1818
username: str = Field(description='用户名')
19-
password: str | None = Field(description='密码')
19+
password: str = Field(description='密码')
2020

2121

2222
class AuthLoginParam(AuthSchemaBase):

0 commit comments

Comments
 (0)