diff options
author | Kim Alvefur <zash@zash.se> | 2023-02-22 15:32:40 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-02-22 15:32:40 +0100 |
commit | 4704e98af6a3e8d00daa2d2da6e3f6d01df2ed7a (patch) | |
tree | 36a0b8545ae059a390748af56a6c986d1600ef60 /plugins/mod_auth_internal_hashed.lua | |
parent | 01fedfa5be4cb2c0142af1a5012e26507cf035fa (diff) | |
download | prosody-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/mod_auth_internal_hashed.lua')
-rw-r--r-- | plugins/mod_auth_internal_hashed.lua | 8 |
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 |