From dc63aa22a5db0ba677a1615bc7a964edf307fb22 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Thu, 12 Mar 2026 01:06:49 +0200 Subject: [PATCH] Fix to build HTML nicely [no-build] --- acl/save_twofactor.cgi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/acl/save_twofactor.cgi b/acl/save_twofactor.cgi index fe1da3fe7..6a76fab7a 100755 --- a/acl/save_twofactor.cgi +++ b/acl/save_twofactor.cgi @@ -69,11 +69,12 @@ if ($in{'enable'}) { # Show a test form only when enrolling for yourself if ($user->{'name'} eq $base_remote_user) { print &ui_form_start("test_twofactor.cgi"); - print $text{'twofactor_testdesc'},"

\n"; - print "$text{'twofactor_testfield'} \n", - &ui_textbox("test", undef, 12),"\n"; + print &ui_tag('p', $text{'twofactor_testdesc'}); + print &ui_tag('p', "$text{'twofactor_testfield'}". + "  ". + &ui_textbox("test", undef, 12)); print &ui_hidden("user", $in{'user'}) if ($in{'user'}); - print "

\n"; + print &ui_tag('p'); print &ui_form_end([ [ undef, $text{'twofactor_test'} ] ]); }