mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 06:07:37 +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);
|
local username = nodeprep(session.sasl_handler.username);
|
||||||
|
|
||||||
if not(require_provisioning) or usermanager_user_exists(username, session.host) then
|
if not(require_provisioning) or usermanager_user_exists(username, session.host) then
|
||||||
local aret, err = sm_make_authenticated(session, session.sasl_handler.username);
|
local ok, err = sm_make_authenticated(session, session.sasl_handler.username);
|
||||||
if aret then
|
if ok then
|
||||||
session.sasl_handler = nil;
|
session.sasl_handler = nil;
|
||||||
session:reset_stream();
|
session:reset_stream();
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue