mirror of
https://github.com/mainnika/nginx-auth-ldap.git
synced 2026-07-03 20:22:33 +00:00
Merge pull request #41 from davidjb/master
Fix authentication for user/group validations - passwords fail to be checked
This commit is contained in:
@@ -1708,11 +1708,6 @@ ngx_http_auth_ldap_authenticate(ngx_http_request_t *r, ngx_http_auth_ldap_ctx_t
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctx->server->require_valid_user == 0) {
|
|
||||||
ctx->phase = PHASE_NEXT;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Initiate bind using the found DN and request password */
|
/* Initiate bind using the found DN and request password */
|
||||||
rc = ngx_http_auth_ldap_check_bind(r, ctx);
|
rc = ngx_http_auth_ldap_check_bind(r, ctx);
|
||||||
if (rc == NGX_AGAIN) {
|
if (rc == NGX_AGAIN) {
|
||||||
|
|||||||
Reference in New Issue
Block a user