[% USE raw %] [% USE Asset %] [% USE Koha %] [% INCLUDE 'doc-head-open.inc' %] Change your password › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %][% END %] [% INCLUDE 'bodytag.inc' bodyid='opac-passwd' %] [% INCLUDE 'masthead.inc' %]

Change your password

[% IF ( Error_messages ) %]

There was a problem with your submission

[% IF ( passwords_mismatch ) %] Passwords do not match. Please re-type your new password. [% END %] [% IF password_too_short %] Password must be at least [% minPasswordLength | html %] characters long. [% END %] [% IF password_too_weak %] Password must contain at least one digit, one lowercase and one uppercase. [% END %] [% IF password_has_whitespaces %] Password must not contain leading or trailing whitespaces. [% END %] [% IF ( WrongPass ) %] Your current password was entered incorrectly. If this problem persists, please ask a librarian to reset your password for you. [% END %]

[% END # /IF Error_messages %] [% IF logged_in_user.category.effective_change_password %] [% IF ( Ask_data ) %]
[% IF ( logged_in_user.category.effective_require_strong_password ) %]
Your password must contain at least [% logged_in_user.category.effective_min_password_length | html %] characters, including UPPERCASE, lowercase and numbers.
[% ELSE %]
Your password must be at least [% logged_in_user.category.effective_min_password_length | html %] characters long.
[% END %]
Cancel
[% END # /IF Ask_data %] [% ELSE %]
You can't change your password.
[% END # /IF logged_in_user.category.effective_change_password %] [% IF ( password_updated ) %]

Password updated

Your password has been changed

[% END # /IF password_updated %]
[% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] [% Asset.js("lib/jquery/plugins/jquery.validate.min.js") | $raw %] [% PROCESS 'password_check.inc' new_password => 'Newkey', minPasswordLength => logged_in_user.category.effective_min_password_length, RequireStrongPassword => logged_in_user.category.effective_require_strong_password %] [% END %]