Full Working static multi tenant

This commit is contained in:
ewandor committed 2025-04-01 00:29:43 +02:00
1 parent 50fdf22afc
commit 59cc709ed5
24 files changed
+327 -244

No files matched your search

-3
View File
@@ -109,9 +109,6 @@ fastapi_users = FastAPIUsers[User, uuid.UUID](
get_current_user = fastapi_users.current_user(active=True)
get_current_superuser = fastapi_users.current_user(active=True, superuser=True)
def get_current_user_and_firm(user=Depends(get_current_user)):
return user
def get_auth_router():
return fastapi_users.get_auth_router(auth_backend)