summaryrefslogtreecommitdiff
path: root/mod_auth_custom/mod_auth_custom.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mod_auth_custom/mod_auth_custom.lua')
-rw-r--r--mod_auth_custom/mod_auth_custom.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod_auth_custom/mod_auth_custom.lua b/mod_auth_custom/mod_auth_custom.lua
index 67049af..315b630 100644
--- a/mod_auth_custom/mod_auth_custom.lua
+++ b/mod_auth_custom/mod_auth_custom.lua
@@ -24,6 +24,8 @@ function test_password(username, password)
24 responses[i] = {password, 0}; 24 responses[i] = {password, 0};
25 elseif m[1] == pam.PAM_PROMPT_ECHO_ON then 25 elseif m[1] == pam.PAM_PROMPT_ECHO_ON then
26 responses[i] = {username, 0}; 26 responses[i] = {username, 0};
27 else
28 responses[i] = {"", 0};
27 end 29 end
28 end 30 end
29 return responses 31 return responses