From f9cf9cc43e11dd811a51525be9edf30ae10d5520 Mon Sep 17 00:00:00 2001 From: oleonard Date: Tue, 2 Aug 2005 20:57:19 +0000 Subject: [PATCH] - Translating a template variable into English - Adding borrowernumber to the confirmation screen so that user can be returned to his user page - Removing warn --- opac/opac-passwd.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opac/opac-passwd.pl b/opac/opac-passwd.pl index 635f847bac..a1440c952d 100755 --- a/opac/opac-passwd.pl +++ b/opac/opac-passwd.pl @@ -51,13 +51,13 @@ if ( $query->param('Oldkey') && $query->param('Newkey') && $query->param('Confir length($query->param('Confirm')) > 5 ){ # Record password my $clave = md5_base64($query->param('Newkey')); $sth->execute($clave,$borrowernumber); - $template->param('Cambio_clave' => '1'); + $template->param('password_updated' => '1'); + $template->param('borrowernumber' => $borrowernumber); }elsif ( $query->param('Newkey') ne $query->param('Confirm') ){ $template->param('Ask_data' => '1'); $template->param('Error_messages' => '1'); $template->param('PassMismatch' => '1'); }elsif (length($query->param('Confirm')) <= 5 ){ - warn "La password es chica\n"; $template->param('Ask_data' => '1'); $template->param('Error_messages' => '1'); $template->param('ShortPass' => '1'); -- 2.39.5