File tree Expand file tree Collapse file tree 3 files changed +2
-108
lines changed
Expand file tree Collapse file tree 3 files changed +2
-108
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ def custom_generate_unique_id(route: APIRoute) -> str:
3333app .add_middleware (
3434 SessionMiddleware ,
3535 secret_key = settings .SECRET_KEY ,
36- max_age = settings .SESSION_MAX_AGE ,
36+ same_site = "lax" , # adjust for production
37+ https_only = False
3738)
3839
3940app .include_router (api_router , prefix = settings .API_V1_STR )
Original file line number Diff line number Diff line change 99api_router = APIRouter ()
1010
1111api_router .include_router (auth_router , tags = ["login" ])
12- api_router .include_router (auth0_router )
1312api_router .include_router (user_router , prefix = "/users" , tags = ["users" ])
1413api_router .include_router (flashcards_router , tags = ["flashcards" ])
1514api_router .include_router (stats_router , tags = ["stats" ])
You can’t perform that action at this time.
0 commit comments