confirm email url fix

This commit is contained in:
2022-10-01 11:39:56 +03:00
parent 96c973b70f
commit 67b3a5d529
3 changed files with 12 additions and 4 deletions

View File

@@ -13,6 +13,7 @@ from auth.authenticate import JWTAuthenticate
from auth.oauth import oauth_login, oauth_authorize
from base.redis import redis
from base.resolvers import resolvers
from resolvers.auth import confirm_email_handler
from resolvers.zine import ShoutsCache
from services.main import storages_init
from services.stat.reacted import ReactedStorage
@@ -54,7 +55,7 @@ async def shutdown():
routes = [
Route("/oauth/{provider}", endpoint=oauth_login),
Route("/oauth_authorize", endpoint=oauth_authorize),
# Route("/confirm_email", endpoint=), # should be called on client
Route("/confirm-email", endpoint=confirm_email_handler), # should be called on client
]
app = Starlette(