otwcode/otwarchive — pull request #389 by CristinaRO (2011-11-28 00:14:52+00:00)
Title: Issue 2561 unique logins

Adding unique index on login to users, to catch the duplicates created when race conditions get around Rails validations.

Adding specs for this feature as well - the validate parameter added to @user.save in the create action is there purely for testing, since I couldn't replicate the conditions otherwise.

Adding a JavaScript function to prevent double submitting for that form, for users with JS enabled.

http://code.google.com/p/otwarchive/issues/detail?id=2561