[% USE Koha %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %][% END %] [% BLOCK jsinclude %] [% END %] [% INCLUDE 'bodytag.inc' bodyid='opac-password-recovery' %] [% INCLUDE 'masthead.inc' %]
[% IF ( OpacPublic ) %] [% END %]

Password recovery

[% IF (hasError) %]

An error occurred

[% IF (sendmailError) %] An error has occurred while sending you the password recovery link.
Please try again later. [% ELSIF (errNoBorrowerFound) %] No account was found with the provided information.
Check if you typed it correctly. [% ELSIF (errBadEmail) %] The provided email address is not tied to this account. [% ELSIF (errTooManyEmailFound) %] More than one account has been found for the email address: "[% email %]"
Try to use your username or an alternative email if you have one. [% ELSIF (errNoBorrowerEmail) %] This account has no email address we can send the email to. [% ELSIF (errAlreadyStartRecovery) %] The process of password recovery has already started for this account ("[% username %]")
Check your emails; you should receive the link to reset your password.
If you did not receive it, click here to get a new password recovery link. [% ELSIF (errPassNotMatch) %] The passwords entered does not match.
Please try again. [% ELSIF (errPassTooShort) %] The password is too short.
The password must contain at least [% minPassLength %] characters. [% ELSIF (errLinkNotValid) %] We could not authenticate you as the account owner.
Be sure to use the link you received in your email. [% END %]

Please contact the staff if you need further assistance.

[% END %]
[% IF (!Koha.Preference('OpacResetPassword')) %]
You can't reset your password.
[% ELSIF (password_recovery) %]

To reset your password, enter your username or email address.
A link to reset your password will be sent at this address.

[% ELSIF (new_password) %]
The password must contain at least [% minPassLength %] characters.
[% ELSIF (mail_sent) %]

An email has been sent to "[% email %]".
It contains a link to create a new password.
This link will be valid for 2 days starting now.

Click here to return to the main page.
[% ELSIF (password_reset_done) %]

The password has been changed for user "[% username %]".

Click here to login.
[% END %]
[% INCLUDE 'opac-bottom.inc' %]