Tags: stnoonan/spnego-http-auth-nginx-module
Tags
Check basic auth result against != NGX_OK rather than == NGX_DECLINED This corrects the error handling case when ngx_http_auth_spnego_basic is called with a bad configuration or bad username. These cases return NGX_ERROR, which allowed basic auth to proceed. Thanks to Prakapovich Pavel aka Flyguy.by for pointing this out.