freman / caddy-reauth

Auth your Caddyserver requests against another server
MIT License
27 stars 15 forks source link

using int values 0/1/2 for more flexibility #12

Closed fellou89 closed 6 years ago

fellou89 commented 6 years ago

documentation updated unit tests updated

fellou89 commented 6 years ago

I realized that on refactoring I made the client auth header check more strict than needed. Switched to using an int flag so that users have more flexibility on how they want to respond to a missing header.