[Koha-bugs] [Bug 8515] OPAC password change does not obey OpacPasswordChange

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 2 17:58:45 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8515

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 13236
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13236&action=edit
Bug 8515 - OPAC password change does not obey OpacPasswordChange

The OPAC change password template enforces the OpacPasswordChange
preference by preventing the form from appearing. However, the
script doesn't contain any check for OpacPasswordChange so it is
vulnerable to someone submitting data to it by some other means.

This patch adds a check for OpacPasswordChange to the script and
revises the template logic in order to show the right warning
in all circumstances.

To test, turn off OpacPasswordChange and navigate manually to
opac-passwd.pl. You should see a warning that you can't change
your password.

Turn on OpacPasswordChange load the change password page and
save the page to your desktop. Turn off OpacPasswordChange and
submit a password change via the saved page. Without the patch
this would result in a password change. After the patch it
should not.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list