mheinzerling / jforum2

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

Duplicate username can be registered #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
In some way, the user can send the registration request twice at the same time. 

What is the expected output? What do you see instead?
The later request should be rejected. But if the database transaction take a 
longer time, the later request also succeeded.

Please use labels and text to provide additional information.
The jforum_users table scheme is lack of unique constraint on username field. 
We should add one for this.

Original issue reported on code.google.com by andow...@gmail.com on 15 Sep 2012 at 3:47

Attachments:

GoogleCodeExporter commented 9 years ago
Add unique constraint with add_unique.sql after JForum installation

Original comment by andow...@gmail.com on 24 Jan 2015 at 5:17