You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Web client does not look up email for user name with capitalized letters #18227
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.
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 ?
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.
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.
Activity
karlitschek commentedon Aug 12, 2015
@blizzz Can you have a look please?
blizzz commentedon Aug 12, 2015
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 ?
DeepDiver1975 commentedon Sep 23, 2015
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)
DeepDiver1975 commentedon Sep 23, 2015
I'd like to move this to 9.0
DeepDiver1975 commentedon Sep 23, 2015
@cmonteroluque @karlitschek
karlitschek commentedon Sep 23, 2015
would be fine for me. @MTRichards what do you think?
MTRichards commentedon Sep 23, 2015
yes, workaround: use other letters.
MTRichards commentedon Sep 24, 2015
I was being a tad flip, but yes - not the best behavior, just trimming to the critical ones for the here and now.
3 remaining items
PVince81 commentedon Apr 7, 2017
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.
ownclouders commentedon Jan 13, 2018
Hey, this issue has been closed because the label
status/STALEis 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.)
lock commentedon Jul 31, 2019
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.