]> git.koha-community.org Git - koha.git/commit
Bug 18755: Allow empty passwords in Patron Info to return OK
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 8 Jun 2017 11:59:55 +0000 (12:59 +0100)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 16 Jul 2017 11:47:22 +0000 (13:47 +0200)
commitaefdb757bf13192f9de898ff77e208f319672ee9
treefa23199bb3112403b28dc2f28980816d40a76429
parente04bdc226ef2e9b08123f2a1652e0532e8c7c3c7
Bug 18755: Allow empty passwords in Patron Info to return OK

With this patch a parameter 'allow_empty_passwords="1" can be added to a
login in the SIP configuration file to allow the behaviour as was normal
before the patch for bug 16610 was applied. Some sip clients rely on
this behaviour sending an empty password field when they wish to
validate to user but do not have the password.
If a password is supplied it will be validated

A test has been added to Message.t to confirm this behaviour

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit ebb887e5c93c96c6fc51d95b76de6a221ba4463e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 459c144f2a54f4b1ddeb9e7595030107e821d2b2)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
C4/SIP/Sip/MsgType.pm
t/db_dependent/SIP/Message.t