]> git.koha-community.org Git - koha.git/commit
Bug 10667: Allow authentication with cardnumber for ILS-DI
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 8 Sep 2013 19:42:04 +0000 (21:42 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 8 Nov 2013 18:17:37 +0000 (15:17 -0300)
commit453a9ccae270001394cef697bb922614b152e4ba
tree2b47df78287a38f165e5cb9b7e024c3ce68472c9
parent1f9c3c90a66c02872ca7ed260bfdb7945ad8896b
Bug 10667: Allow authentication with cardnumber for ILS-DI

Test authentication via ILS-DI:
- with userid and password
- with userid and wrong password
- with cardnumber and password
- with cardnumber and wrong password
...

Before the patch only userid will authenticate the patron.
After the patch was applied, userid and cardnumber will work.

To test:
- Run t/db_dependent/ILSDI_Services.t - all tests should pass.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
No koha-qa errors

Test:
Enable ISL-DI
access opac with /cgi-bin/koha/ilsdi.pl?service=AuthenticatePatron&username=XXX&password=YYY
With userid/cardnumber & password returns borrowernumber
With userid/cardnumber & wrong password returns PatronNotFound
Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit ddb67e32377185df371c85172308be882968b14f)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/ILSDI/Services.pm
koha-tmpl/opac-tmpl/prog/en/modules/ilsdi.tt
t/db_dependent/ILSDI_Services.t