TryGhost/Ghost — pull request #1835 by baus (2014-01-04 01:01:56+00:00)
Title: Atomically add users. Addresses #1834

Atomically add users. This is done by always adding a user when requested, and then assuming the database’s auto increment function is atomic. If it is, and there is more than one user, the user's id will not be 1. In that case, delete the new user.