summaryrefslogtreecommitdiff
path: root/mod_auth_custom
diff options
context:
space:
mode:
Diffstat (limited to 'mod_auth_custom')
-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 424e3ab..184edf3 100644
--- a/mod_auth_custom/mod_auth_custom.lua
+++ b/mod_auth_custom/mod_auth_custom.lua
@@ -66,7 +66,7 @@ function get_sasl_handler()
66 return new_sasl(module.host, { 66 return new_sasl(module.host, {
67 plain_test = function(sasl, ...) 67 plain_test = function(sasl, ...)
68 if is_real_user(username) then 68 if is_real_user(username) then
69 return pam_auth(..); 69 return pam_auth(...);
70 elseif is_alias(username) then 70 elseif is_alias(username) then
71 if password == alias_pw(username) then 71 if password == alias_pw(username) then
72 return true, true; 72 return true, true;