Mercurial > prosody-wiki
changeset 309:35702f67785f
mod_auth_external: Added note about passwords being able to contain colons (which are also delimiters in the protocol).
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 13 Oct 2012 02:45:47 +0500 |
parents | f5d82d6588d4 |
children | 466bdf312547 |
files | mod_auth_external.wiki |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_auth_external.wiki Wed Oct 10 01:28:20 2012 +0500 +++ b/mod_auth_external.wiki Sat Oct 13 02:45:47 2012 +0500 @@ -36,6 +36,8 @@ Example: {{{auth:username:example.com:abc123}}} +Note: The password can contain colons. Make sure to handle that. + == isuser == Check if a user exists. @@ -46,6 +48,8 @@ Example: {{{setpass:username:example.com:abc123}}} +Note: The password can contain colons. Make sure to handle that. + == ejabberd compatibilty == ejabberd implements a similar protocol. The main difference is that Prosody's protocol is line-based, while ejabberd's is length-prefixed.