This topic has 4 replies, 3 voices, and was last updated 10 years by Adam.

  • Author
  • #20461
     Adam
    Participant

    It seems the e-mail field for password reset is case sensitive? Why is this, and can I change that? People using mobile keyboards are likely to leave the first letter of their e-mail capitalized since the phone auto-capitalizes it.

    So when this capitalization doesn’t match the e-mail address as-entered during registration, they think they have an account problem/the site is broken.

    #20711
     Catalin
    Moderator

    Hello,

    Please send the page where this issue happens to be able to replicate this issue.

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #21578
     Adam
    Participant

    @catalin:

    the site is meetmindful.com

    to replicate:

    * create account (http://www.meetmindful.com/register) and note the exact formatting of the e-mail address you provide
    * activate via link sent to your e-mail
    * login and make sure password is OK
    * log out
    * go through log-in flow again but choose “I forgot”
    * enter e-mail address with funky ChaRaCTer CapITaliZatiOn
    * – you should see a valid e-mail address will fail if not entered exactly as submitted during registration –

    again, this is mostly an issue because:
    * people sign up using all-lower case e-mail addresses
    * on some mobile devices (iPhone) the first letter may get auto-capitalized
    * the conflict between first-letter capitalization on password retrieval and NO caps during registration results in the user being told their e-mail address doesn’t exist in our system, when in fact it does.

    thanks for checking this out!

    #22158
     Abe
    Keymaster

    Hi Adam we fixed this and it will be available in our next theme version. If you want to fix it until then you need to edit functions.php and change around line 692 to this:

    COPY CODE
    
    if ( ! isset( $user_data->user_email ) || strtolower( $user_data->user_email ) != strtolower( $_POST['email'] ) ) {
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #22174
     Adam
    Participant

    Thx Abe! 🙂

    Attachments:
    You must be logged in to view attached files.
Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Why case-sensitive e-mail fields?’ is closed to new replies.

Log in with your credentials

Forgot your details?