changeset 2829:8082bfc10e65

mod_auth_external: Silence warnings about unused arguments [luacheck]
author Kim Alvefur <zash@zash.se>
date Sat, 18 Nov 2017 00:36:22 +0100 (2017-11-17)
parents 3ba36b66f297
children 92f6f82397c9
files mod_auth_external/mod_auth_external.lua
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_auth_external/mod_auth_external.lua	Sat Nov 18 00:35:36 2017 +0100
+++ b/mod_auth_external/mod_auth_external.lua	Sat Nov 18 00:36:22 2017 +0100
@@ -129,7 +129,9 @@
 	return do_query("isuser", username);
 end
 
-function provider.create_user(username, password) return nil, "Account creation/modification not available."; end
+function provider.create_user(username, password) -- luacheck: ignore 212
+	return nil, "Account creation/modification not available.";
+end
 
 function provider.get_sasl_handler()
 	local testpass_authentication_profile = {