chore: clean-up

This commit is contained in:
Vlad Stan
2026-02-05 12:21:01 +02:00
parent 2bedcae9f1
commit b0079871b0
-2
View File
@@ -87,8 +87,6 @@ async def login(data: LoginUsernamePassword) -> JSONResponse:
if not account or not account.verify_password(data.password):
raise HTTPException(HTTPStatus.UNAUTHORIZED, "Invalid credentials.")
if not account.activated:
raise HTTPException(HTTPStatus.FORBIDDEN, "Account is not activated.")
return _auth_success_response(account.username, account.id, account.email)