[Koha-bugs] [Bug 17746] koha-reset-passwd should use Koha::Patron->set_password

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Mar 23 02:52:37 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17746

--- Comment #21 from Liz Rea <wizzyrea at gmail.com> ---
Created attachment 86934
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=86934&action=edit
Bug 17746: (QA follow-up) Make set_password.pl generate a password if required

This patch makes the set_password.pl script generate the password if it
is not passed as an argument.

It also changes the behaviour of set_password.pl: it will now print the
userid and password (generated or not) to mimick the behaviour from
koha-reset-passwd.

The koha-reset-passwd gets simplified as it doesn't generate the random
password anymore, it passes the responsability to set_password.pl

To test:
- Follow the steps from the original platch
- Verify all behaves as expected

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

Signed-off-by: Liz Rea <wizzyrea at gmail.com>

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


More information about the Koha-bugs mailing list