You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
authentication.py:70: RuntimeWarning: coroutine 'verify_password' was never awaited
if user and verify_password(password, user.password):
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
INFO: 127.0.0.1:46472 - "POST /token HTTP/1.1" 200 OK
verify_password is an async function and should be awaited, not awaiting it will result in returning a coroutine object that render the condition pointless as it will give valid token for any true username provided.
The text was updated successfully, but these errors were encountered:
E-commerce-FastAPI/authentication.py
Line 66 in a37d591
verify_password
is an async function and should be awaited, not awaiting it will result in returning a coroutine object that render the condition pointless as it will give valid token for any true username provided.The text was updated successfully, but these errors were encountered: