Skip to content

Commit

Permalink
Remove nginx auth req unecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
np5 committed Mar 20, 2021
1 parent 18fa7d5 commit bf941ba
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/accounts/views/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ def get_external_link_authorization_groups(self):
if not original_uri:
return
original_uri_first_elem = original_uri.strip("/").split("/")[0]
if "." in original_uri_first_elem or not len(original_uri_first_elem) > 3:
return
for link in zentral_settings.get('extra_links', []):
authorized_groups = link.get("authorized_groups")
if not authorized_groups:
Expand Down

0 comments on commit bf941ba

Please sign in to comment.