From 4704e98af6a3e8d00daa2d2da6e3f6d01df2ed7a Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 22 Feb 2023 15:32:40 +0100 Subject: mod_auth_internal_hashed: Add stub methods for enabling and disabling users But how and where? --- plugins/mod_auth_internal_hashed.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'plugins/mod_auth_internal_hashed.lua') 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 -- cgit v1.2.3