This commit is contained in:
1 parent
be0d4a87f5
commit
43b951210e
1 file changed
+1
-1
@@ -744,6 +744,6 @@ def build_auth_router(
|
||||
# Expose the session dependency for the project's own non-auth routes to
|
||||
# reuse (mirrors Go's Service.Require/RequireAdmin being usable as
|
||||
# middleware on any route, not just this router's own).
|
||||
router.require_session = require_session # type: ignore[attr-defined]
|
||||
router.require_session = require_session # ty: ignore[unresolved-attribute]
|
||||
|
||||
return router
|
||||
Reference in new issue
Block a user