Lines 60-66
if ( C4::Context->preference("OpacPasswordChange") ) {
Link Here
|
60 |
$template->param( 'passwords_mismatch' => '1' ); |
60 |
$template->param( 'passwords_mismatch' => '1' ); |
61 |
} else { |
61 |
} else { |
62 |
try { |
62 |
try { |
63 |
$patron->set_password( $new_password ); |
63 |
$patron->set_password({ password => $new_password }); |
64 |
$template->param( 'password_updated' => '1' ); |
64 |
$template->param( 'password_updated' => '1' ); |
65 |
$template->param( 'borrowernumber' => $borrowernumber ); |
65 |
$template->param( 'borrowernumber' => $borrowernumber ); |
66 |
} |
66 |
} |
67 |
- |
|
|