|
Lines 64-69
if (
Link Here
|
| 64 |
$patron_attrs->{password} ||= Koha::AuthUtils::generate_password; |
64 |
$patron_attrs->{password} ||= Koha::AuthUtils::generate_password; |
| 65 |
|
65 |
|
| 66 |
$patron_attrs->{categorycode} ||= C4::Context->preference('PatronSelfRegistrationDefaultCategory'); |
66 |
$patron_attrs->{categorycode} ||= C4::Context->preference('PatronSelfRegistrationDefaultCategory'); |
|
|
67 |
delete $patron_attrs->{timestamp}; |
| 68 |
delete $patron_attrs->{verification_token}; |
| 67 |
my $patron = Koha::Patron->new( $patron_attrs )->store; |
69 |
my $patron = Koha::Patron->new( $patron_attrs )->store; |
| 68 |
|
70 |
|
| 69 |
if ($patron) { |
71 |
if ($patron) { |
| 70 |
- |
|
|