Software /
code /
prosody
Diff
plugins/mod_tokenauth.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 | 12959:e331210beeb2 |
child | 12980:6ebad8e16b3b |
line wrap: on
line diff
--- a/plugins/mod_tokenauth.lua Fri Mar 17 18:03:07 2023 +0100 +++ b/plugins/mod_tokenauth.lua Fri Mar 24 13:15:28 2023 +0100 @@ -1,10 +1,10 @@ -local base64 = require "util.encodings".base64; -local hashes = require "util.hashes"; -local id = require "util.id"; -local jid = require "util.jid"; -local random = require "util.random"; -local usermanager = require "core.usermanager"; -local generate_identifier = require "util.id".short; +local base64 = require "prosody.util.encodings".base64; +local hashes = require "prosody.util.hashes"; +local id = require "prosody.util.id"; +local jid = require "prosody.util.jid"; +local random = require "prosody.util.random"; +local usermanager = require "prosody.core.usermanager"; +local generate_identifier = require "prosody.util.id".short; local token_store = module:open_store("auth_tokens", "map");