Skip to content

Commit

Permalink
chore: add note for removal of a condition
Browse files Browse the repository at this point in the history
Refs: HP-2490
  • Loading branch information
danipran committed Jul 24, 2024
1 parent c714804 commit c6b0c4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions profiles/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,7 @@ def resolve_login_methods(self: Profile, info, **kwargs):
# with helsinki-tunnus or Suomi.fi, so for other cases, save a couple
# API calls and return an empty list. There's no other reasoning for the
# logic here.
# Can remove this after Tunnistamo is no longer in use. Related ticket: HP-2495
if amr.intersection({"helsinki_tunnus", "heltunnistussuomifi", "suomi_fi"}):
return get_user_login_methods(self.user.uuid)

Expand Down

0 comments on commit c6b0c4a

Please sign in to comment.