diff --git a/plugins/auth/fps_auth/backends.py b/plugins/auth/fps_auth/backends.py index 56113e1b..548357b5 100644 --- a/plugins/auth/fps_auth/backends.py +++ b/plugins/auth/fps_auth/backends.py @@ -168,7 +168,7 @@ def current_user(permissions: Optional[Dict[str, List[str]]] = None): async def _( response: Response, token: Optional[str] = None, - user: Optional[User] = Depends( + user: Optional[User] = Depends( fapi_users.current_user(optional=True, get_enabled_backends=get_enabled_backends) ), user_manager: BaseUserManager[User, models.ID] = Depends(get_user_manager),