Skip to content

Commit

Permalink
Fixing bug in authentication method in Conda-Store authentication
Browse files Browse the repository at this point in the history
Fixes #1394
  • Loading branch information
costrouc committed Aug 16, 2022
1 parent 514d52a commit 75a6f96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def authenticate(self, request):
namespaces.add(group_name)
role_bindings[f"{group_name}/*"] = roles

conda_store = get_conda_store()
conda_store = get_conda_store(request)
for namespace in namespaces:
_namespace = api.get_namespace(conda_store.db, name=namespace)
if _namespace is None:
Expand Down

0 comments on commit 75a6f96

Please sign in to comment.