aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_auth_internal_hashed.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_auth_internal_hashed.lua')
-rw-r--r--plugins/mod_auth_internal_hashed.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_auth_internal_hashed.lua b/plugins/mod_auth_internal_hashed.lua
index 32371618..4840f431 100644
--- a/plugins/mod_auth_internal_hashed.lua
+++ b/plugins/mod_auth_internal_hashed.lua
@@ -126,9 +126,10 @@ function provider.enable(username)
return accounts:set(username, account);
end
-function provider.disable(username)
+function provider.disable(username, meta)
local account = accounts:get(username);
account.disabled = true;
+ account.disabled_meta = meta;
account.updated = os.time();
return accounts:set(username, account);
end