happyraul / pwm

Automatically exported from code.google.com/p/pwm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GuestRegistrationServlet does not check unique attr values

GoogleCodeExporter opened this issue · comments

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:

Correct pwm issue number in filename.

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

Attachments: