[% USE Koha %] [% USE Categories %] [% USE AdditionalContents %] [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] [% INCLUDE 'doc-head-open.inc' %] Forgotten password recovery › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %][% END %] [% BLOCK jsinclude %] [% IF (new_password) %] [% Asset.js("lib/jquery/plugins/jquery.validate.min.js") | $raw %] [% PROCESS 'password_check.inc' new_password => 'newPassword', minPasswordLength => minPasswordLength, RequireStrongPassword => RequireStrongPassword %] [% END %] [% END %] [% INCLUDE 'bodytag.inc' bodyid='opac-password-recovery' %] [% INCLUDE 'masthead.inc' %]
[% IF ( OpacPublic ) %] [% END %]

Forgotten password recovery

[% IF (hasError) %]

Error

[% 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. [% ELSIF errResetForbidden %] Sorry, your password cannot be changed online. [% ELSIF (errMultipleAccountsForEmail) %] Account identification with this email address only is ambiguous.
Please use the field 'Login' as well. [% ELSIF (errNoBorrowerEmail) %] This account has no email address we can send the email to. [% ELSIF (errAlreadyStartRecovery) %] The process of password recovery has already been started for this account [% IF username %] ("[% username | html %]") [% ELSIF email %] ("[% email | html %]") [% END %]
You should have received an email with a link to reset your password.
If you did not receive this email, you can request a new one: Get new password recovery link [% ELSIF (errPassNotMatch) %] The passwords do not match. [% ELSIF password_too_short %]

  • Password must be at least [% minPasswordLength | html %] characters long.
  • [% ELSIF password_too_weak %]
  • Password must contain at least one digit, one lowercase and one uppercase.
  • [% ELSIF password_has_whitespaces %]
  • Password must not contain leading or trailing whitespaces.
  • [% ELSIF (errLinkNotValid) %] The link you clicked is either invalid, or expired.
    Be sure you used the link from the email, or contact library staff for assistance. [% END %]

    Please contact the library if you need further assistance.

    [% END # /IF hasError %]
    [% IF (! Categories.can_any_reset_password ) %]
    You can't reset your password.
    [% ELSIF (password_recovery) %]
    Password recovery

    To reset your password, enter your login or your email address.

    [% ELSIF (new_password) %] [% UNLESS ( errLinkNotValid ) %]
    Password not valid
    [% IF ( RequireStrongPassword ) %]
    Your password must contain at least [% minPasswordLength | html %] characters, including UPPERCASE, lowercase and numbers.
    [% ELSE %]
    Your password must be at least [% minPasswordLength | html %] characters long.
    [% END %]
    [% END # /UNLESS errLinkNotValid %] [% ELSIF (mail_sent) %]

    You will receive an email shortly.
    Please click the link in this email to finish the process of resetting your password.
    This link is valid for 2 days starting now.

    Return to the main page
    [% ELSIF (password_reset_done) %]

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

    Log in to your account.
    [% END # /IF (! Categories.can_any_reset_password ) %]
    [% INCLUDE 'opac-bottom.inc' %]