noushadali / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

GuestRegistrationServlet does not check unique attr values #639

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Mark a field as unique within the config manager for the guest registration 
form
2. Fill in the form as a guest admin with a non unique value for that form field
3. No unique check is performed: the guest is created

What is the expected output? What do you see instead?
It seems that the GuestRegistrationServlet does not check for the unique flag 
on each form field. It does however check other requirements (min, max etc.).

Attached a patch for version 1.7.1. This issue is relevant for trunk as well.

Original issue reported on code.google.com by sebastia...@gmail.com on 27 Nov 2014 at 10:01

Attachments:

GoogleCodeExporter commented 9 years ago
Correct pwm issue number in filename.

Original comment by sebastia...@gmail.com on 27 Nov 2014 at 10:22

Attachments: