[MINOR] http-auth: make the 'unless' keyword work as expected
authorWilly Tarreau <w@1wt.eu>
Mon, 1 Feb 2010 09:40:19 +0000 (10:40 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 1 Feb 2010 09:40:19 +0000 (10:40 +0100)
commit5142594dea58a8898bae859960a03e5db6f709c5
tree6850848fb8f16edbf6e1a564b0c8593c764ee407
parentcd19e51b056d1a7cd67ff3c7db106d71846d13ce
[MINOR] http-auth: make the 'unless' keyword work as expected

One check was missing for the 'polarity' of the test. Now 'unless'
works. BTW, 'unless' provides a nice way to perform one-line auth :

    acl valid-user http_auth(user-list)
    http-request auth unless valid-user
src/proto_http.c