Mercurial > prosody-modules
comparison mod_auth_phpbb3/mod_auth_phpbb3.lua @ 374:2dd6dfda94d6
mod_auth_phpbb3: Fixed a missing function parameter causing auth to fail.
| author | Waqas Hussain <waqas20@gmail.com> |
|---|---|
| date | Fri, 01 Jul 2011 07:51:00 +0500 |
| parents | 81c7b36e6cdd |
| children | cac309a3d655 |
comparison
equal
deleted
inserted
replaced
| 373:81c7b36e6cdd | 374:2dd6dfda94d6 |
|---|---|
| 174 return nil, "Account creation/modification not supported."; | 174 return nil, "Account creation/modification not supported."; |
| 175 end | 175 end |
| 176 | 176 |
| 177 function provider.get_sasl_handler() | 177 function provider.get_sasl_handler() |
| 178 local profile = { | 178 local profile = { |
| 179 plain_test = function(username, password, realm) | 179 plain_test = function(sasl, username, password, realm) |
| 180 -- TODO stringprep | 180 -- TODO stringprep |
| 181 return provider.test_password(username, password), true; | 181 return provider.test_password(username, password), true; |
| 182 end; | 182 end; |
| 183 }; | 183 }; |
| 184 return new_sasl(module.host, profile); | 184 return new_sasl(module.host, profile); |
