Bug 21087: Do not store the password in ->store for existing patrons
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 25 Jul 2018 13:38:48 +0000 (10:38 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 30 Jul 2018 17:58:06 +0000 (14:58 -0300)
commit135cb68db39d1eed8db6fe2ad31d1e62f8579dab
tree4a9f3320f6c824bac3606f035b324836e04e6e45
parentce1f9033fbdccb883673577868fa6d74e357cf60
Bug 21087: Do not store the password in ->store for existing patrons

When ->store is called on an existing patron we must not save the
password, but keep the one in DB instead.
There is a dedicated method (update_password) to call when the password
need to be updated

Signed-off-by: John Doe <you@example.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Patron.pm