Mercurial > prosody-hg
comparison plugins/mod_saslauth.lua @ 2251:18079ede5b62
mod_saslauth: Fix typo in variable name
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 28 Nov 2009 15:12:07 +0000 |
| parents | ee6ac55a72d6 |
| children | 4768879d3591 |
comparison
equal
deleted
inserted
replaced
| 2250:3196dabe8a36 | 2251:18079ede5b62 |
|---|---|
| 73 return reply; | 73 return reply; |
| 74 end | 74 end |
| 75 | 75 |
| 76 local function handle_status(session, status) | 76 local function handle_status(session, status) |
| 77 if status == "failure" then | 77 if status == "failure" then |
| 78 session.sasl_handler = sesion.sasl_handler:clean_clone(); | 78 session.sasl_handler = session.sasl_handler:clean_clone(); |
| 79 elseif status == "success" then | 79 elseif status == "success" then |
| 80 local username = nodeprep(session.sasl_handler.username); | 80 local username = nodeprep(session.sasl_handler.username); |
| 81 if not username then -- TODO move this to sessionmanager | 81 if not username then -- TODO move this to sessionmanager |
| 82 module:log("warn", "SASL succeeded but we didn't get a username!"); | 82 module:log("warn", "SASL succeeded but we didn't get a username!"); |
| 83 session.sasl_handler = nil; | 83 session.sasl_handler = nil; |
