OPAC: username that starts with a number is treated like a barcode
Bug #1255561 reported by
Chris Sharp
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
In Evergreen 2.3.6, when logging into the OPAC, a username that starts with a number is treated by the system like a barcode, but the user is only told that the login fails with no indication as to why. Obviously, the username regex setting can be used to prevent the creation of a username that starts with a number, but we need better error handling here. My naive suggestion would be when the system does not find the barcode, that it checks to see it's a username instead, but I'll leave implementation to others. ;-)
Evergreen 2.3.6
PostgreSQL 9.1
OpenSRF 2.1.2
Ubuntu 12.04 LTS
Changed in evergreen: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
tags: | added: opac |
tags: |
added: needsrebase opac-account removed: opac |
To post a comment you must log in.
Pushed a patch that runs this as it's designed now, but, upon authentication failure, tries a username beginning with a digit as a username, instead of a barcode.
lp1255561_ username_ begins_ with_digit: user/abowling/ lp1255561_ username_ begins_ with_digit
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=commit; h=e276c58a56d27 fe114cd1351bed6 0235107395a0