Software /
code /
prosody
Comparison
plugins/mod_auth_internal_hashed.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 | 12946:59478b295137 |
child | 13202:173038306750 |
comparison
equal
deleted
inserted
replaced
12976:a187600ec7d6 | 12977:74b9e05af71e |
---|---|
7 -- COPYING file in the source package for more information. | 7 -- COPYING file in the source package for more information. |
8 -- | 8 -- |
9 | 9 |
10 local max = math.max; | 10 local max = math.max; |
11 | 11 |
12 local scram_hashers = require "util.sasl.scram".hashers; | 12 local scram_hashers = require "prosody.util.sasl.scram".hashers; |
13 local generate_uuid = require "util.uuid".generate; | 13 local generate_uuid = require "prosody.util.uuid".generate; |
14 local new_sasl = require "util.sasl".new; | 14 local new_sasl = require "prosody.util.sasl".new; |
15 local hex = require"util.hex"; | 15 local hex = require"prosody.util.hex"; |
16 local to_hex, from_hex = hex.encode, hex.decode; | 16 local to_hex, from_hex = hex.encode, hex.decode; |
17 local saslprep = require "util.encodings".stringprep.saslprep; | 17 local saslprep = require "prosody.util.encodings".stringprep.saslprep; |
18 local secure_equals = require "util.hashes".equals; | 18 local secure_equals = require "prosody.util.hashes".equals; |
19 | 19 |
20 local log = module._log; | 20 local log = module._log; |
21 local host = module.host; | 21 local host = module.host; |
22 | 22 |
23 local accounts = module:open_store("accounts"); | 23 local accounts = module:open_store("accounts"); |