auth-request-handler.c (dovecot-2.3.16) | : | auth-request-handler.c (dovecot-2.3.17) | ||
---|---|---|---|---|
skipping to change at line 206 | skipping to change at line 206 | |||
auth_fields_exists(fields->extra_fields, "proxy")) { | auth_fields_exists(fields->extra_fields, "proxy")) { | |||
/* we're proxying */ | /* we're proxying */ | |||
if (!auth_fields_exists(fields->extra_fields, "pass") && | if (!auth_fields_exists(fields->extra_fields, "pass") && | |||
request->mech_password != NULL) { | request->mech_password != NULL) { | |||
/* send back the password that was sent by user | /* send back the password that was sent by user | |||
(not the password in passdb). */ | (not the password in passdb). */ | |||
auth_str_add_keyvalue(dest, "pass", | auth_str_add_keyvalue(dest, "pass", | |||
request->mech_password); | request->mech_password); | |||
} | } | |||
if (fields->master_user != NULL && | if (fields->master_user != NULL && | |||
!auth_fields_exists(fields->extra_fields, "master")) { | !auth_fields_exists(fields->extra_fields, "master") && | |||
*fields->master_user != '\0') { | ||||
/* the master username needs to be forwarded */ | /* the master username needs to be forwarded */ | |||
auth_str_add_keyvalue(dest, "master", | auth_str_add_keyvalue(dest, "master", | |||
fields->master_user); | fields->master_user); | |||
} | } | |||
} | } | |||
} | } | |||
static void | static void | |||
auth_request_handle_failure(struct auth_request *request, const char *reply) | auth_request_handle_failure(struct auth_request *request, const char *reply) | |||
{ | { | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added |