summaryrefslogtreecommitdiff
path: root/mod_auth_custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-09-30 18:08:43 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-09-30 18:08:43 +0200
commitb3e203324142d213f8d5dd648d54cd128e7f0568 (patch)
tree8f4bdce6b38d306fb7e73699931b609bfe3d8952 /mod_auth_custom
parent5a229650244d029c70cb20ffad887954b6e29fba (diff)
downloadprosody_auth-b3e203324142d213f8d5dd648d54cd128e7f0568.tar
prosody_auth-b3e203324142d213f8d5dd648d54cd128e7f0568.tar.gz
prosody_auth-b3e203324142d213f8d5dd648d54cd128e7f0568.tar.bz2
prosody_auth-b3e203324142d213f8d5dd648d54cd128e7f0568.tar.xz
prosody_auth-b3e203324142d213f8d5dd648d54cd128e7f0568.zip
more debug output
Diffstat (limited to 'mod_auth_custom')
-rw-r--r--mod_auth_custom/mod_auth_custom.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod_auth_custom/mod_auth_custom.lua b/mod_auth_custom/mod_auth_custom.lua
index 2c05f74..8f3ae76 100644
--- a/mod_auth_custom/mod_auth_custom.lua
+++ b/mod_auth_custom/mod_auth_custom.lua
@@ -15,7 +15,8 @@ function user_exists(username)
15 return is_real_user(username); 15 return is_real_user(username);
16end 16end
17 17
18function test_password(username, password) 18function test_password(username, password)
19 print("Testing password");
19 local h, err = pam.start("xmpp", username, { 20 local h, err = pam.start("xmpp", username, {
20 function (t) 21 function (t)
21 local responses = {} 22 local responses = {}