3scale / apisonator

Red Hat 3scale API Management Apisonator backend
https://3scale.net
Apache License 2.0
36 stars 27 forks source link

Remove empty credentials #393

Closed jlledom closed 2 weeks ago

jlledom commented 2 weeks ago

ACL Support works fine when both user and password are provided. But for backwards compatibility we need to properly send the credentials when the user is not specified.

In this scenario, our protocol needs to send the next command:

AUTH <password>

Check the docs.

This PR just adds a small fix to remove empty elements from the credentials array provided to the protocol.