]> 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)
committerMason James <mtj@kohaaloha.com>
Sun, 30 Jul 2017 13:02:08 +0000 (01:02 +1200)
commitb0d85c2df0a88053cc8f9e5472efebc12ae1bffc
treebdf354f4fb38cfff73a21d5e1b0eee9a6aeaecf5
parent22b2704e88d2c6ecc13e10a48f2f497c0d23231b
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