fix: rename path login
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -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
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user