Skip to content

Commit

Permalink
restore explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
byewokko committed Dec 4, 2024
1 parent db96b90 commit 8d370b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions asab/web/auth/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def install(self, web_container):

tenant_wrapper_idx = tenant_service.get_web_wrapper_position(web_container)
if tenant_wrapper_idx is not None:
# Tenant wrapper is present - Auth wrapper must be applied before it
web_container.WebApp.on_startup.insert(tenant_wrapper_idx, self.set_up_auth_web_wrapper)
else:
web_container.WebApp.on_startup.append(self.set_up_auth_web_wrapper)
Expand Down

0 comments on commit 8d370b5

Please sign in to comment.