[core] Fix admin url
This commit is contained in:
parent
d74b484cbb
commit
2723fa50e4
|
@ -165,7 +165,7 @@ async def admin_login(form_data: OAuth2PasswordRequestForm = Depends()):
|
||||||
|
|
||||||
|
|
||||||
@router.post(
|
@router.post(
|
||||||
'/reset',
|
'/reset/',
|
||||||
status_code=status.HTTP_202_ACCEPTED,
|
status_code=status.HTTP_202_ACCEPTED,
|
||||||
response_model=BaseModel,
|
response_model=BaseModel,
|
||||||
operation_id='reset',
|
operation_id='reset',
|
||||||
|
@ -198,7 +198,7 @@ async def admin_reset_password(values: BodyEmail):
|
||||||
@router.post(
|
@router.post(
|
||||||
'/reset/{reset_token}',
|
'/reset/{reset_token}',
|
||||||
response_model=BodyAccessToken,
|
response_model=BodyAccessToken,
|
||||||
operation_id='confirm reset',
|
operation_id='confirm_reset',
|
||||||
)
|
)
|
||||||
async def admin_confirm_reset(reset_token: str, values: BodyPassword):
|
async def admin_confirm_reset(reset_token: str, values: BodyPassword):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue