Mercurial > prosody-modules
changeset 1045:76668bb122c2
mod_auth_custom_http: No need for nodeprep in Prosody 0.9.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 03 Jun 2013 07:57:12 -0400 |
parents | fcb9bf7ac107 |
children | b9d47487d550 |
files | mod_auth_custom_http/mod_auth_custom_http.lua |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_auth_custom_http/mod_auth_custom_http.lua Mon Jun 03 07:53:48 2013 -0400 +++ b/mod_auth_custom_http/mod_auth_custom_http.lua Mon Jun 03 07:57:12 2013 -0400 @@ -38,11 +38,6 @@ function provider.get_sasl_handler() local getpass_authentication_profile = { plain_test = function(sasl, username, password, realm) - local prepped_username = nodeprep(username); - if not prepped_username then - log("debug", "NODEprep failed on username: %s", username); - return "", nil; - end local postdata = require "util.json".encode({ username = username, password = password }); local result = require "socket.http".request("http://example.com/path", postdata); return result == "true", true;