token path param

This commit is contained in:
2022-10-05 11:15:56 +03:00
parent d18424ed59
commit 5811e0e878
3 changed files with 2 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ async def shutdown():
routes = [
Route("/oauth/{provider}", endpoint=oauth_login),
Route("/oauth_authorize", endpoint=oauth_authorize),
Route("/confirm-email", endpoint=confirm_email_handler), # should be called on client
Route("/confirm-email/{token}", endpoint=confirm_email_handler), # should be called on client
]
app = Starlette(