fix: rename path login

This commit is contained in:
2026-05-12 12:33:57 +03:00
parent 9d56b7f6f5
commit 4cfab85812
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@@ -2,7 +2,7 @@
__pycache__/ __pycache__/
*.py[cod] *.py[cod]
*$py.class *$py.class
generate_password_hash.py
# C extensions # C extensions
*.so *.so
*.pyd *.pyd

View File

@@ -119,7 +119,7 @@ async def login_start(
return {'success': result} return {'success': result}
@auth_router.post(path='/login/compete', response_class=ORJSONResponse, status_code=status.HTTP_200_OK) @auth_router.post(path='/login/complete', response_class=ORJSONResponse, status_code=status.HTTP_200_OK)
#@rate_limit(limit=10, window_seconds=300, scope='ip') #@rate_limit(limit=10, window_seconds=300, scope='ip')
@csrf_protect() @csrf_protect()
async def login( async def login(