LP#1528647 Self-check only accepts user name value if regex
authorTerran McCanna <tmccanna@georgialibraries.org>
Thu, 2 Jun 2016 21:52:02 +0000 (17:52 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 19 Nov 2016 12:41:59 +0000 (07:41 -0500)
commite6a0957260683b5e12d16f7b3e3546ecb11919b1
treeca570c81e5a8454db83ad95348bd891be87be940
parentf2c79637205802efc59dcf8a446e1c91dafe58fd
LP#1528647 Self-check only accepts user name value if regex
for barcode not set up

This patch was written by Bob Wicksall and posted to launchpad. I've
tested on my own server and packaged it for review here.

The fix allows a patron to log into the self-check interface with either
a barcode or a user name.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Revert "LP#1528647 Self-check only accepts user name value if regex"

Terran reports this not working as expected.

This reverts commit 0eb3a73c2fba4f609c0dab015a843a550e03516e.

LP#1528647 Self-check only accepts user name value if regex
for barcode not set up

This fix allows a patron to log into the self-check interface with either
a barcode or a user name.

Written by: Bob Wicksall <bwicksall@pls-net.org>

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
LP#1528647 Self-check only accepts user name value if regex for barcode
not set up

The original fix only worked if password was not required for self-check.
This fix allows it to work when password is required as well.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/web/js/dojo/openils/User.js
Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js