add test fingerprint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user