diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-21 16:19:46 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-21 16:19:46 +0200 |
| commit | 08f56ab877313cdeaa3084e2fe2a6a50f0cb0495 (patch) | |
| tree | 9f17ef537dd366a161741af571c57a4b62af33ce /mod_auth_custom | |
| parent | 0d4b0b7b4d538a16e57f7106b6dc878788123333 (diff) | |
| download | prosody_auth-08f56ab877313cdeaa3084e2fe2a6a50f0cb0495.tar prosody_auth-08f56ab877313cdeaa3084e2fe2a6a50f0cb0495.tar.gz prosody_auth-08f56ab877313cdeaa3084e2fe2a6a50f0cb0495.tar.bz2 prosody_auth-08f56ab877313cdeaa3084e2fe2a6a50f0cb0495.tar.xz prosody_auth-08f56ab877313cdeaa3084e2fe2a6a50f0cb0495.zip | |
log is_alias
Diffstat (limited to 'mod_auth_custom')
| -rw-r--r-- | mod_auth_custom/mod_auth_custom.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mod_auth_custom/mod_auth_custom.lua b/mod_auth_custom/mod_auth_custom.lua index 109f387..a1e97ee 100644 --- a/mod_auth_custom/mod_auth_custom.lua +++ b/mod_auth_custom/mod_auth_custom.lua | |||
| @@ -26,6 +26,7 @@ function is_alias(username) | |||
| 26 | if string.lower(line) == string.lower(username .. "@" .. module.host) then found = true; end | 26 | if string.lower(line) == string.lower(username .. "@" .. module.host) then found = true; end |
| 27 | end | 27 | end |
| 28 | f:close(); | 28 | f:close(); |
| 29 | module:log("info", "is_alias(%s) = %d # %s", username, found, username .. "@" .. module.host); | ||
| 29 | return found; | 30 | return found; |
| 30 | end | 31 | end |
| 31 | 32 | ||
