Mercurial > prosody-modules
comparison mod_s2s_auth_posh/mod_s2s_auth_posh.lua @ 3203:b3e82e2b818e
mod_s2s_auth_posh: Remove commented out line
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 21 Dec 2017 03:23:46 +0100 |
| parents | 094f75f316d6 |
| children | 13f381f0c03f |
comparison
equal
deleted
inserted
replaced
| 3202:094f75f316d6 | 3203:b3e82e2b818e |
|---|---|
| 76 log("debug", "Not trying POSH because certificate is already valid"); | 76 log("debug", "Not trying POSH because certificate is already valid"); |
| 77 return; | 77 return; |
| 78 end | 78 end |
| 79 | 79 |
| 80 log("info", "Trying POSH authentication."); | 80 log("info", "Trying POSH authentication."); |
| 81 -- if session.cert_identity_status ~= "valid" and session.posh then | |
| 82 local wait, done = async.waiter(); | 81 local wait, done = async.waiter(); |
| 83 if posh_lookup(session, done) then | 82 if posh_lookup(session, done) then |
| 84 wait(); | 83 wait(); |
| 85 end | 84 end |
| 86 local posh = session.posh; | 85 local posh = session.posh; |
