aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-02-22 15:32:40 +0100
committerKim Alvefur <zash@zash.se>2023-02-22 15:32:40 +0100
commit4704e98af6a3e8d00daa2d2da6e3f6d01df2ed7a (patch)
tree36a0b8545ae059a390748af56a6c986d1600ef60 /plugins
parent01fedfa5be4cb2c0142af1a5012e26507cf035fa (diff)
downloadprosody-4704e98af6a3e8d00daa2d2da6e3f6d01df2ed7a.tar.gz
prosody-4704e98af6a3e8d00daa2d2da6e3f6d01df2ed7a.zip
mod_auth_internal_hashed: Add stub methods for enabling and disabling users
But how and where?
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_auth_internal_hashed.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/mod_auth_internal_hashed.lua b/plugins/mod_auth_internal_hashed.lua
index 97e85f54..56f7d5d6 100644
--- a/plugins/mod_auth_internal_hashed.lua
+++ b/plugins/mod_auth_internal_hashed.lua
@@ -115,6 +115,14 @@ function provider.is_enabled(username) -- luacheck: ignore 212
return true;
end
+function provider.enable(username) -- luacheck: ignore 212
+ error "NYI"
+end
+
+function provider.disable(username) -- luacheck: ignore 212
+ error "NYI"
+end
+
function provider.users()
return accounts:users();
end