# HG changeset patch # User Sergey Kandaurov # Date 1391866960 -14400 # Node ID de77e295c073256b453536519056606e803f7983 # Parent 88c0d96b982568a097fcfa8f0810ca7676fd11cc Documented the "Auth-User" authentication header field. diff -r 88c0d96b9825 -r de77e295c073 xml/en/docs/mail/ngx_mail_auth_http_module.xml --- a/xml/en/docs/mail/ngx_mail_auth_http_module.xml Sat Feb 08 17:42:40 2014 +0400 +++ b/xml/en/docs/mail/ngx_mail_auth_http_module.xml Sat Feb 08 17:42:40 2014 +0400 @@ -10,7 +10,7 @@ + rev="2">
@@ -138,6 +138,11 @@ +If the
Auth-User
header exists in a response, +it overrides the username used to authenticate with the backend. +
+ + For the SMTP, the response additionally takes into account the
Auth-Error-Code
header — if exists, it is used as a response code in case of an error. diff -r 88c0d96b9825 -r de77e295c073 xml/ru/docs/mail/ngx_mail_auth_http_module.xml --- a/xml/ru/docs/mail/ngx_mail_auth_http_module.xml Sat Feb 08 17:42:40 2014 +0400 +++ b/xml/ru/docs/mail/ngx_mail_auth_http_module.xml Sat Feb 08 17:42:40 2014 +0400 @@ -10,7 +10,7 @@ + rev="2">
@@ -136,6 +136,12 @@ +Если в ответе есть заголовок
Auth-User
, +то он переопределяет имя пользователя, +используемое для аутентификации с бэкендом. +
+ + Для SMTP в ответе дополнительно учитывается заголовок
Auth-Error-Code
 — если он есть, то используется как код ответа в случае ошибки.