[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › [% IF ( newpassword ) %]Password updated [% ELSE %]Update password for [% patron.surname | html %], [% patron.firstname | html %][% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %]
[% INCLUDE 'members-toolbar.inc' %] [% IF ( newpassword ) %]

Password Updated

[% ELSE %]
[% IF ( errormsg ) %]

The following errors have occurred:

    [% IF ( BADUSERID ) %]
  • You have entered a username that already exists. Please choose another one.
  • [% END %] [% IF ( ERROR_password_too_short ) %]
  • Password must be at least [% Koha.Preference('minPasswordLength') | html %] characters long.
  • [% END %] [% IF ( ERROR_password_too_weak ) %]
  • Password must contain at least one digit, one lowercase and one uppercase.
  • [% END %] [% IF ( ERROR_password_has_whitespaces ) %]
  • Password must not contain leading or trailing whitespaces.
  • [% END %] [% IF ( NOPERMISSION ) %]
  • You do not have permission to edit this patron's login information.
  • [% END %] [% IF ( NOMATCH ) %]
  • The passwords entered do not match. Please re-enter the new password.
  • [% END %]
[% END %]
Change username and/or password for [% patron.firstname | html %] [% patron.surname | html %]
  1. [% SET password_pattern = ".{" _ Koha.Preference('minPasswordLength') _ ",}" %] [% IF Koha.Preference('RequireStrongPassword') %] [% SET password_pattern = '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{' _ Koha.Preference('minPasswordLength') _ ',}' %] [% END %]
  2. Koha cannot display existing passwords. Leave the field blank to leave password unchanged.
Cancel
[% END %]
Processing...
[% MACRO jsinclude BLOCK %] [% Asset.js("js/members-menu.js") | $raw %] [% PROCESS 'password_check.inc' %] [% PROCESS 'add_password_check' new_password => 'newpassword' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]