# HG changeset patch # User Kim Alvefur # Date 1385834970 -3600 # Node ID 12e3bc0fd6ed8534f2924e057f2066321f4a1ded # Parent db85ff22ae971650487aee33a48284f53844539d mod_register_web: Indentation fix diff -r db85ff22ae97 -r 12e3bc0fd6ed mod_register_web/mod_register_web.lua --- a/mod_register_web/mod_register_web.lua Sat Nov 30 19:00:38 2013 +0100 +++ b/mod_register_web/mod_register_web.lua Sat Nov 30 19:09:30 2013 +0100 @@ -100,11 +100,11 @@ end function register_user(form) - local prepped_username = nodeprep(form.username); - if usermanager.user_exists(prepped_username, module.host) then - return nil, "user-exists"; - end - return usermanager.create_user(prepped_username, form.password, module.host); + local prepped_username = nodeprep(form.username); + if usermanager.user_exists(prepped_username, module.host) then + return nil, "user-exists"; + end + return usermanager.create_user(prepped_username, form.password, module.host); end function generate_success(event, form)