add test fingerprint

This commit is contained in:
IluaAir
2025-09-27 11:52:55 +03:00
parent 4e47ce80fd
commit b87c37b149
2 changed files with 23 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ async def login(
session: sessionDep,
credential: Annotated[OAuth2PasswordRequestForm, Depends()],
response: Response,
fingerprint: str = Form(),
fingerprint: str = Form(min_length=5),
):
result = await AuthService(session).login(
credential.username, credential.password, fingerprint=fingerprint