<<

NAME

Koha::Patron::Password::Recovery - Koha password recovery module

SYNOPSIS

use Koha::Patron::Password::Recovery;

FUNCTIONS

ValidateBorrowernumber

$alread = ValidateBorrowernumber( $borrower_number );

Check if the system already start recovery

Returns true false

GetValidLinkInfo

    Check if the link is still valid and return some info.

SendPasswordRecoveryEmail

 It creates an email using the templates and sends it to the user, using the specified email

CompletePasswordRecovery

    $bool = CompletePasswordRecovery($uuid);

    Deletes a password recovery entry.

DeleteExpiredPasswordRecovery

    $bool = DeleteExpiredPasswordRecovery($borrowernumber)

    Deletes an expired password recovery entry.

<<