projects
/
nginx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
upstream nginx-0.7.34
[nginx.git]
/
nginx
/
src
/
mail
/
ngx_mail_parse.c
diff --git
a/nginx/src/mail/ngx_mail_parse.c
b/nginx/src/mail/ngx_mail_parse.c
index
a2d3f48
..
67f4d5e
100644
(file)
--- a/
nginx/src/mail/ngx_mail_parse.c
+++ b/
nginx/src/mail/ngx_mail_parse.c
@@
-848,6
+848,10
@@
ngx_mail_auth_parse(ngx_mail_session_t *s, ngx_connection_t *c)
return NGX_MAIL_AUTH_LOGIN;
}
+ if (s->args.nelts == 2) {
+ return NGX_MAIL_AUTH_LOGIN_USERNAME;
+ }
+
return NGX_MAIL_PARSE_INVALID_COMMAND;
}