Diff

plugins/mod_auth_internal_hashed.lua @ 12901:b884ddb5a0e7

mod_auth_internal_hashed: Add stub methods for enabling and disabling users But how and where?
author Kim Alvefur <zash@zash.se>
date Wed, 22 Feb 2023 15:32:40 +0100
parent 12900:5484debdfdfe
child 12902:0a0a251bcd6c
line wrap: on
line diff
--- a/plugins/mod_auth_internal_hashed.lua	Wed Feb 22 13:27:08 2023 +0100
+++ b/plugins/mod_auth_internal_hashed.lua	Wed Feb 22 15:32:40 2023 +0100
@@ -115,6 +115,14 @@
 	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