Revert "Bug 17494: Make sure the same verification token won't be generated twice"

This reverts commit 5f160f675b.
This commit is contained in:
Mason James 2016-12-29 14:43:41 +13:00
parent 1d90fdb04c
commit 600663000f
1 changed files with 1 additions and 1 deletions

View File

@ -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(