[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( newpassword ) %]Password updated [% ELSE %]Update password for [% patron.surname | html %], [% patron.firstname | html %][% END %] › Patrons › Koha [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search-header.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 [% patron.category.effective_min_password_length | 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 ( ERROR_from_plugin ) %]
  • The password was rejected by a plugin.
  • [% 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 = ".{" _ patron.category.effective_min_password_length _ ",}" %] [% IF patron.category.effective_require_strong_password %] [% SET password_pattern = '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{' _ patron.category.effective_min_password_length _ ',}' %] [% END %]
  2. Koha cannot display existing passwords. Leave the field blank to leave password unchanged.
Cancel
[% END %]
Processing...
[% MACRO jsinclude BLOCK %] [% INCLUDE 'str/members-menu.inc' %] [% Asset.js("js/members-menu.js") | $raw %] [% PROCESS 'password_check.inc' new_password => 'newpassword', minPasswordLength => patron.category.effective_min_password_length, RequireStrongPassword => patron.category.effective_require_strong_password %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]