Revert "Bug 17494: Make sure the same verification token won't be generated twice"
This reverts commit 5f160f675b.
This commit is contained in:
parent
1d90fdb04c
commit
600663000f
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue