Software /
code /
prosody
Comparison
plugins/mod_saslauth.lua @ 8222:67a9d2de2300
mod_saslauth: Use correct varible name (thanks Roi)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 08 Jul 2017 18:21:45 +0200 |
parent | 7939:6940d6db970b |
child | 8234:97b3ca502547 |
comparison
equal
deleted
inserted
replaced
8163:a55eb6c3b45c | 8222:67a9d2de2300 |
---|---|
103 condition = child.name; | 103 condition = child.name; |
104 break; | 104 break; |
105 end | 105 end |
106 end | 106 end |
107 if text and condition then | 107 if text and condition then |
108 condition = connection .. ": " .. text; | 108 condition = condition .. ": " .. text; |
109 end | 109 end |
110 module:log("info", "SASL EXTERNAL with %s failed: %s", session.to_host, condition); | 110 module:log("info", "SASL EXTERNAL with %s failed: %s", session.to_host, condition); |
111 | 111 |
112 session.external_auth = "failed" | 112 session.external_auth = "failed" |
113 end, 500) | 113 end, 500) |