changeset 2740:57d4680b86a4

mod_register_web: Normalize indentation [luacheck]
author Kim Alvefur <zash@zash.se>
date Thu, 17 Aug 2017 14:49:52 +0200
parents 7d864a03b509
children 1fa9620220e3
files mod_register_web/mod_register_web.lua
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mod_register_web/mod_register_web.lua	Thu Aug 17 14:35:42 2017 +0200
+++ b/mod_register_web/mod_register_web.lua	Thu Aug 17 14:49:52 2017 +0200
@@ -40,12 +40,12 @@
 
 	function generate_captcha(display_options)
 		return recaptcha_tpl.apply(setmetatable({
-	  		recaptcha_display_error = display_options and display_options.recaptcha_error
-	  			and ("&error="..display_options.recaptcha_error) or "";
-	  	}, {
-	  		__index = function (t, k)
-	  			if captcha_options[k] then return captcha_options[k]; end
-	  			module:log("error", "Missing parameter from captcha_options: %s", k);
+			recaptcha_display_error = display_options and display_options.recaptcha_error
+			and ("&error="..display_options.recaptcha_error) or "";
+		}, {
+			__index = function (t, k)
+				if captcha_options[k] then return captcha_options[k]; end
+				module:log("error", "Missing parameter from captcha_options: %s", k);
 			end
 		}));
 	end