GallusMax / open-source-self-check

An OpenSource Selfcheck system that is FAST, intuitive and - Free Software! Enhancements against the code from code.google.com/p/open-source-self-check
GNU General Public License v3.0
6 stars 4 forks source link

Blocked account message shown for invalid accounts too #34

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. enter arbitrary number has the User ID (ex: 555)
2. You will receive the Blocked account message (there is a problem with your 
account..)

What is the expected output? What do you see instead?
I would like it to show the Invalid account message (Account not found...) 

What version of the product are you using? On what operating system?
1.2

Please provide any additional information below.
Is there a way to modify this in the php files either from home.php or 
account_check.php? and how so. the response from sirs dyinx is "User not found" 
but it still shows the blocked user message.

Original issue reported on code.google.com by jason.fi...@gmail.com on 3 Mar 2014 at 3:46

GoogleCodeExporter commented 8 years ago
in config.php do you have a value set for $patron_id_length?

Original comment by ericmelton1@gmail.com on 3 Mar 2014 at 6:07

GoogleCodeExporter commented 8 years ago
I enabled, that and it did start checking for length. but as long as it's in 
our case 14 digits long it will show the blocked message and not the invalid 
account message if they mistype/mis scan it. 

Original comment by jason.fi...@gmail.com on 3 Mar 2014 at 6:09

GoogleCodeExporter commented 8 years ago
Have you used Firebug for Firefox? If you have errors turned on, you might see 
what response is coming back after you scan a card. 

Original comment by ericmelton1@gmail.com on 4 Mar 2014 at 3:04