Skip to content

Commit

Permalink
[pritunl] removed unnecessary data from auth string (#4530) (#4537)
Browse files Browse the repository at this point in the history
* removed unnecessary data from auth string

* add changelog

Co-authored-by: vadim <vadim>
(cherry picked from commit 51a6851)

Co-authored-by: vvatlin <[email protected]>
  • Loading branch information
patchback[bot] and vvatlin authored Apr 20, 2022
1 parent 612c293 commit 3d512d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- pritunl - fixed bug where pritunl plugin api add unneeded data in ``auth_string`` parameter (https://github.com/ansible-collections/community.general/issues/4527).
1 change: 0 additions & 1 deletion plugins/module_utils/net_tools/pritunl/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ def pritunl_auth_request(

auth_string = "&".join(
[api_token, auth_timestamp, auth_nonce, method.upper(), path]
+ ([data] if data else [])
)

auth_signature = base64.b64encode(
Expand Down

0 comments on commit 3d512d8

Please sign in to comment.