Skip to content

Commit 11b80d5

Browse files
committed
One more email validation fix
1 parent 98b748b commit 11b80d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngx_http_auth_jwt_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ static ngx_int_t ngx_http_auth_jwt_handler(ngx_http_request_t *r)
213213
set_custom_header_in_headers_out(r, &useridHeaderName, &sub_t);
214214
}
215215

216-
if (jwtcf->auth_jwt_validate_email == NULL || !jwtcf->auth_jwt_validate_email)
216+
if (jwtcf->auth_jwt_validate_email == NULL || jwtcf->auth_jwt_validate_email)
217217
{
218218
email = jwt_get_grant(jwt, "emailAddress");
219219
if (email == NULL)

0 commit comments

Comments
 (0)