From e996fee8089dabf6d44eccd6ac48ccd668fd3328 Mon Sep 17 00:00:00 2001 From: rosheen Date: Tue, 20 Apr 2021 23:58:47 +0200 Subject: [PATCH] Removed extra variables --- cgi/user2.pl | 2 -- templates/user_form2.tt.html | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cgi/user2.pl b/cgi/user2.pl index 56216d15ad0a2..bc6f0d13993ac 100644 --- a/cgi/user2.pl +++ b/cgi/user2.pl @@ -160,8 +160,6 @@ } $template_data_ref->{user_ref} = $user_ref; - $template_data_ref->{user_id_field} = $user_ref->{userid}; - $template_data_ref->{user_password_field} = $user_ref->{password}; # Create the list of sections and fields diff --git a/templates/user_form2.tt.html b/templates/user_form2.tt.html index 52eca1472ff71..75feaf4496b1e 100644 --- a/templates/user_form2.tt.html +++ b/templates/user_form2.tt.html @@ -61,7 +61,7 @@ [% IF field.field == 'userid' %] [% IF type == 'edit' %] -

[% user_id_field %]

+

[% field.value %]

[% ELSE %] @@ -73,7 +73,7 @@ [% ELSIF field.type == 'password' %] - + [% ELSIF field.type == 'email' %]