Mercurial > prosody-modules
diff mod_auth_cyrus/mod_auth_cyrus.lua @ 4938:bc8832c6696b
upstream merge
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 11 May 2022 12:44:32 +0200 |
parents | b8366e31c829 |
children |
line wrap: on
line diff
--- a/mod_auth_cyrus/mod_auth_cyrus.lua Wed May 11 12:43:26 2022 +0200 +++ b/mod_auth_cyrus/mod_auth_cyrus.lua Wed May 11 12:44:32 2022 +0200 @@ -19,7 +19,7 @@ prosody.unlock_globals(); --FIXME: Figure out why this is needed and -- why cyrussasl isn't caught by the sandbox -local cyrus_new = require "util.sasl_cyrus".new; +local cyrus_new = module:require "sasl_cyrus".new; prosody.lock_globals(); local new_sasl = function(realm) return cyrus_new(