Skip to content

Commit

Permalink
Merge pull request #83 from StevenMapes/master
Browse files Browse the repository at this point in the history
  • Loading branch information
oliwarner authored May 2, 2024
2 parents 3551014 + ccf9346 commit 029a47f
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 029a47f

Please sign in to comment.