diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-11-19 07:45:33 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-11-19 07:45:33 -0500 |
commit | 7cc4c3139d8d75335bd7e9b21d99257ff8d3cc72 (patch) | |
tree | f8688102de01d684ac09ee660c3e9923b4c8ae8b /actions/login.php | |
parent | 75c00c55dd9cc2de4d97f829d9b47c99eb4ba287 (diff) | |
download | elgg-7cc4c3139d8d75335bd7e9b21d99257ff8d3cc72.tar.gz elgg-7cc4c3139d8d75335bd7e9b21d99257ff8d3cc72.tar.bz2 |
Fixes #641 users can submit email address to reset password
Diffstat (limited to 'actions/login.php')
-rw-r--r-- | actions/login.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/actions/login.php b/actions/login.php index 5934d1423..c717faadd 100644 --- a/actions/login.php +++ b/actions/login.php @@ -28,7 +28,6 @@ if (empty($username) || empty($password)) { } // check if logging in with email address -// @todo Are usernames with @ not allowed? if (strpos($username, '@') !== FALSE && ($users = get_user_by_email($username))) { $username = $users[0]->username; } |