mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* removed unnecessary data from auth string
* add changelog
Co-authored-by: vadim <vadim>
(cherry picked from commit 51a68517ce
)
Co-authored-by: vvatlin <vvvvatlin@gmail.com>
This commit is contained in:
parent
612c2936aa
commit
3d512d88f1
2 changed files with 2 additions and 1 deletions
|
@ -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).
|
|
@ -337,7 +337,6 @@ def pritunl_auth_request(
|
||||||
|
|
||||||
auth_string = "&".join(
|
auth_string = "&".join(
|
||||||
[api_token, auth_timestamp, auth_nonce, method.upper(), path]
|
[api_token, auth_timestamp, auth_nonce, method.upper(), path]
|
||||||
+ ([data] if data else [])
|
|
||||||
)
|
)
|
||||||
|
|
||||||
auth_signature = base64.b64encode(
|
auth_signature = base64.b64encode(
|
||||||
|
|
Loading…
Reference in a new issue