[wp-trac] [WordPress Trac] #36653: Lost password Form not recognizing usernames that contains @ character

WordPress Trac noreply at wordpress.org
Sun Apr 24 05:59:54 UTC 2016


#36653: Lost password Form not recognizing usernames that contains @ character
------------------------------------+-----------------------------
 Reporter:  machelinos              |      Owner:
     Type:  defect (bug)            |     Status:  new
 Priority:  normal                  |  Milestone:  Awaiting Review
Component:  Login and Registration  |    Version:  4.4.2
 Severity:  normal                  |   Keywords:
  Focuses:  administration          |
------------------------------------+-----------------------------
 I have some users that on the username use the character @, for example
 "name @sitename" . Then if those users want to reset their passwords on
 the lost password form if they entered their username to get the reset
 link, it doesn't work. It marks the following error
 ERROR: There is no user registered with that email address.

 I think the form is interpreting for the @ character that is an email
 address and only searches for email addresses on the database and not
 usernames. It's really weird behavior but it only happens to my sites for
 usernames with the @ character, if i enter the email of the user the form
 works correctly, also for usernames that do not contain the @ character it
 works fine.

 It can be a bug since WordPress allows for usernames to have the @
 character but then on the lost password form it doesn't recognize those
 usernames.

 I have deactivated every plugin and used the regular twenty sixteen theme.
 I discovered this on Wordpress 4.4.2 but i have updated and it's doing the
 same on 4.5

 Thanks for your help!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36653>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list