Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mcg1969 committed Oct 5, 2024
1 parent b397743 commit b4bc76e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ae5_tools/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2411,12 +2411,6 @@ def impersonate(self, user_or_id):
old_headers = self.session.headers.copy()
try:
self._post(f'users/{record["id"]}/impersonation')
params = {
"client_id": "anaconda-platform",
"scope": "openid",
"response_type": "code",
"redirect_uri": f"https://{self.hostname}/login",
}
return self.session.cookies
finally:
self.session.cookies = LWPCookieJar()
Expand Down

0 comments on commit b4bc76e

Please sign in to comment.