diff mod_rest/mod_rest.lua @ 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 064c32a5be7c
children 88d0f7438f0e
line wrap: on
line diff
--- 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" });