diff mod_register_web/mod_register_web.lua @ 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 9f60905406ba
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