kennym / cf7-to-api

LOOKING FOR MAINTAINER. Wordpress plugin to transmit contact form 7 entries to remote API using POST or GET
https://wordpress.org/plugins/cf7-to-api-basic-auth/
52 stars 30 forks source link

Fixed bearer token usage #11

Closed nlulic closed 4 years ago

nlulic commented 4 years ago

I've been having issues using a bearer token to authenticate against an API. While digging through the code I've stumbled upon the implementation of the bearer authentication header which seemed odd, so I fixed it. This has worked for me.

kennym commented 4 years ago

@nlulic why did you close this PR?

nlulic commented 4 years ago

@kennym I'm sorry, I closed it accidentally and thought it cannot be re-opened.

kennym commented 4 years ago

Thank you! Will be in the next release.