pyrocms/pyrocms — pull request #1467 by jagcrete (2012-05-31 02:48:02+00:00)
Title: 2.1/develop

The ion_auth_model.php class contains a defect when registering a username that already exists. The current code checks if the username exists and if it does, attempts to append an incrementing integer to the username.

Eg. register john, which exists, try john1, john2 etc. (see code comment in file)

However, the actual outcome of this code is:

john1, john12, john123, john1234, etc. The code continuously appends the next integer to the username, upon each check.

Fixed to code to perform in the manner outlined by the code comment.