zzOzz / pwm

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

New User allows user to click submit even if there is an error #598

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use an existing userID (email address or whatever value)
2. Fill in firstname, last name, password
3. Click submit. An error is thrown (different results depending on how the 
customer has customized the page)

What is the expected output? What do you see instead?
Submit button should be disabled

What version of PWM are you using?
Tried with 1.7.0 and Demo site

What ldap directory and version are you using?
eDirectory.

Please paste any error log messages below:

I believe the issue is on line 62
https://code.google.com/p/pwm/source/browse/trunk/pwm/servlet/web/public/resourc
es/js/newuser.js#62

Should add
PWM_MAIN.getObject("submitBtn").disabled = true;

Original issue reported on code.google.com by ja...@jaredjennings.org on 30 Jul 2014 at 9:49