Lines 138-144
if ( $action eq 'create' ) {
Link Here
|
138 |
); |
138 |
); |
139 |
$template->param( 'email' => $borrower{'email'} ); |
139 |
$template->param( 'email' => $borrower{'email'} ); |
140 |
|
140 |
|
141 |
my $verification_token = md5_hex( \%borrower ); |
141 |
my $verification_token = md5_hex( time().{}.rand().{}.$$ ); |
142 |
|
142 |
|
143 |
$borrower{password} = random_string(".........."); |
143 |
$borrower{password} = random_string(".........."); |
144 |
$borrower{verification_token} = $verification_token; |
144 |
$borrower{verification_token} = $verification_token; |
145 |
- |
|
|