Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information