Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
oliwarner committed May 2, 2024
2 parents b989058 + 029a47f commit 5bd41a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multifactor/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def get(self, request, *args, **kwargs):
domain = factor.properties.get('domain', '')
if not domain:
continue
if domain != self.request.get_host():
if domain != self.request.get_host().split(":")[0]:
other_domains.add(domain)
continue
self.available_methods[factor.key_type].append(factor)
Expand Down

0 comments on commit 5bd41a5

Please sign in to comment.