Remove useless commented code
This commit is contained in:
parent
6fafa9f387
commit
62c034261d
@ -52,13 +52,6 @@ async def login_for_access_token(
|
|||||||
)
|
)
|
||||||
return response
|
return response
|
||||||
|
|
||||||
# For Swagger UI to work, must return the token
|
|
||||||
# return Token(
|
|
||||||
# access_token=access_token,
|
|
||||||
# refresh_token=refresh_token,
|
|
||||||
# token_type="bearer",
|
|
||||||
# )
|
|
||||||
|
|
||||||
|
|
||||||
# Full native JWT support is not complete in FastAPI yet :(
|
# Full native JWT support is not complete in FastAPI yet :(
|
||||||
# Part of that is token refresh, so we must implement it ourselves
|
# Part of that is token refresh, so we must implement it ourselves
|
||||||
|
Loading…
x
Reference in New Issue
Block a user