From 600663000f467252121bcdc809ffdf9bc984c065 Mon Sep 17 00:00:00 2001 From: Mason James Date: Thu, 29 Dec 2016 14:43:41 +1300 Subject: [PATCH] Revert "Bug 17494: Make sure the same verification token won't be generated twice" This reverts commit 5f160f675b1de4a12db6717b297c3d7b0a7a5d3d. --- opac/opac-memberentry.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl index 633ad048aa..bb30a61405 100755 --- a/opac/opac-memberentry.pl +++ b/opac/opac-memberentry.pl @@ -123,7 +123,7 @@ if ( $action eq 'create' ) { ); $template->param( 'email' => $borrower{'email'} ); - my $verification_token = md5_hex( time().{}.rand().{}.$$ ); + my $verification_token = md5_hex( \%borrower ); $borrower{'password'} = random_string(".........."); Koha::Patron::Modifications->new( -- 2.39.5