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, 1 insertions, 1 deletions
diff --git a/mod_auth_custom/mod_auth_custom.lua b/mod_auth_custom/mod_auth_custom.lua
index fc8d0c8..69a41e4 100644
--- a/mod_auth_custom/mod_auth_custom.lua
+++ b/mod_auth_custom/mod_auth_custom.lua
@@ -31,7 +31,7 @@ function test_password(username, password)
31 return responses 31 return responses
32 end 32 end
33 }); 33 });
34 if h and h:authenticate() and h:endx(pam.PAM_SUCCESS) then 34 if h and h:authenticate() and h:endx(pam.SUCCESS) then
35 return true, true; 35 return true, true;
36 end 36 end
37 return nil, true; 37 return nil, true;