Comparison

plugins/mod_auth_internal_plain.lua @ 12977:74b9e05af71e

plugins: Prefix module imports with prosody namespace
author Kim Alvefur <zash@zash.se>
date Fri, 24 Mar 2023 13:15:28 +0100
parent 12950:2cb5994e3f94
child 13506:1b81a7b7c9b8
comparison
equal deleted inserted replaced
12976:a187600ec7d6 12977:74b9e05af71e
4 -- 4 --
5 -- This project is MIT/X11 licensed. Please see the 5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 8
9 local usermanager = require "core.usermanager"; 9 local usermanager = require "prosody.core.usermanager";
10 local new_sasl = require "util.sasl".new; 10 local new_sasl = require "prosody.util.sasl".new;
11 local saslprep = require "util.encodings".stringprep.saslprep; 11 local saslprep = require "prosody.util.encodings".stringprep.saslprep;
12 local secure_equals = require "util.hashes".equals; 12 local secure_equals = require "prosody.util.hashes".equals;
13 13
14 local log = module._log; 14 local log = module._log;
15 local host = module.host; 15 local host = module.host;
16 16
17 local accounts = module:open_store("accounts"); 17 local accounts = module:open_store("accounts");