mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_saslauth: Rename variable 'aret' to 'ok' as per convention
This commit is contained in:
parent
8293d237d5
commit
0dbf22f2ba
1 changed files with 2 additions and 2 deletions
|
@ -97,8 +97,8 @@ local function handle_status(session, status, ret, err_msg)
|
|||
local username = nodeprep(session.sasl_handler.username);
|
||||
|
||||
if not(require_provisioning) or usermanager_user_exists(username, session.host) then
|
||||
local aret, err = sm_make_authenticated(session, session.sasl_handler.username);
|
||||
if aret then
|
||||
local ok, err = sm_make_authenticated(session, session.sasl_handler.username);
|
||||
if ok then
|
||||
session.sasl_handler = nil;
|
||||
session:reset_stream();
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue