Skip to content

Web client does not look up email for user name with capitalized letters #18227

Closed

Description

@clcain

I can log in to the web client (example.com/owncloud) and see my files using user name "Username", or I can use "username" (note the difference in capitalization) and both capitalizations log me in as the same user. However, when I click the link to reset password via email, user name "username" works, and user name "Username" returns the error dialog "Couldn't send reset email because there is no email address for this username. Please contact your administrator." The user name is listed on the admin page in all lower-case, as "username". This happens with every account I have on my server.

This was confusing at first, as I was always attempting to log in with a capitalized first letter, and receiving the error message.

I am using ownCloud 8.1.1.

Activity

  1. karlitschek commented on Aug 12, 2015

    @karlitschek
    Contributor

    @blizzz Can you have a look please?

  2. added this to the milestone on Aug 12, 2015
  3. blizzz commented on Aug 12, 2015

    @blizzz
    Contributor

    IIRC accepting user names on login with a capital letter is a UX feature with mobile phones in mind. Now I assume we just don't do it when looking up email for password reset. I understand this is confusing, and we better go for consistency. I don't think you have reservations @LukasReschke ?

  4. DeepDiver1975 commented on Sep 23, 2015

    @DeepDiver1975
    Contributor

    This is the ever returning nightmare of case insensitive username.

    The proper solution is to finally introduce the accounts table which uses a proper integer based id.

    see #19053 (comment)

  5. DeepDiver1975 commented on Sep 23, 2015

    @DeepDiver1975
    Contributor

    I'd like to move this to 9.0

  6. DeepDiver1975 commented on Sep 23, 2015

    @DeepDiver1975
    Contributor

    @cmonteroluque @karlitschek

  7. karlitschek commented on Sep 23, 2015

    @karlitschek
    Contributor

    would be fine for me. @MTRichards what do you think?

  8. MTRichards commented on Sep 23, 2015

    @MTRichards
    Contributor

    yes, workaround: use other letters.

  9. modified the milestones: , on Sep 23, 2015
  10. MTRichards commented on Sep 24, 2015

    @MTRichards
    Contributor

    I was being a tad flip, but yes - not the best behavior, just trimming to the critical ones for the here and now.

  11. ghost added this to the milestone on Feb 22, 2016
  12. 3 remaining items

  13. removed this from the 9.1 milestone on Jul 6, 2016
  14. PVince81 commented on Apr 7, 2017

    @PVince81
    Contributor

    In newer versions of OC the error message is actually hidden to prevent hackers trying different user names to guess them. This makes this issue even worse because now the user will see a message "email sent" even if none is sent, then they'll wait longer and see they got nothing before trying again, not even having a clue that it was a problem with the user name.

  15. modified the milestones: 10.0.1, 10.0 on Apr 7, 2017
  16. modified the milestones: backlog, 10.0.1 on May 17, 2017
  17. ownclouders commented on Jan 13, 2018

    @ownclouders
    Contributor

    Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

    (This is an automated comment from GitMate.io.)

  18. lock commented on Jul 31, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  19. locked as resolved and limited conversation to collaborators on Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions