Skip to content

Commit

Permalink
Merge pull request #294 from sim6/do_not_remove_@_from_goa_username
Browse files Browse the repository at this point in the history
Do not remove @ from GOA username
  • Loading branch information
mrvladus authored May 23, 2024
2 parents c037b00 + 4236598 commit bbc608f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions errands/lib/goa.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ def get_goa_credentials(acc_name: str) -> GoaCredentials | None:
username: str = (
acc.get_cached_property("PresentationIdentity")
.get_string()
.split("@")[:-1]
.rsplit("@", 1)[0]
)
username = "".join(username)
password = account.get_password_based().call_get_password_sync(
arg_id=acc.get_cached_property("Id").get_string()
)
Expand Down

0 comments on commit bbc608f

Please sign in to comment.