Mercurial > prosody-modules
changeset 3915:80dffbbd056b
mod_rest, mod_http_oauth2: Switch from mod_authtokens to mod_tokenauth per Prosody bf81523e2ff4
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 26 Feb 2020 22:48:10 +0000 |
parents | f5caacd475c4 |
children | f1e28dcb3791 |
files | mod_http_oauth2/mod_http_oauth2.lua mod_rest/mod_rest.lua |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_oauth2/mod_http_oauth2.lua Wed Feb 26 22:30:50 2020 +0100 +++ b/mod_http_oauth2/mod_http_oauth2.lua Wed Feb 26 22:48:10 2020 +0000 @@ -4,7 +4,7 @@ local usermanager = require "core.usermanager"; local errors = require "util.error"; -local tokens = module:depends("authtokens"); +local tokens = module:depends("tokenauth"); local function oauth_error(err_name, err_desc) return errors.new({
--- a/mod_rest/mod_rest.lua Wed Feb 26 22:30:50 2020 +0100 +++ b/mod_rest/mod_rest.lua Wed Feb 26 22:48:10 2020 +0000 @@ -17,7 +17,7 @@ local jsonmap = module:require"jsonmap"; -local tokens = module:depends("authtokens"); +local tokens = module:depends("tokenauth"); local auth_mechanisms = module:get_option_set("rest_auth_mechanisms", { "Basic", "Bearer" });