element-hq / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://element-hq.github.io/dendrite/
GNU Affero General Public License v3.0
33 stars 5 forks source link

Login API should casefold usernames, matching registration API #2059

Closed matrixbot closed 3 weeks ago

matrixbot commented 3 weeks ago

This issue was originally created by @timmc at https://github.com/matrix-org/dendrite/issues/2059.

Background information

Description

User can register with mixed-case names e.g. Test but then cannot log in.

Steps to reproduce

The registration code case-folds the username to lowercase, so the registered username is actually test. However, the login code doesn't perform this case-folding, so login fails.

References:

matrixbot commented 3 weeks ago

This comment was originally posted by @timmc at https://github.com/matrix-org/dendrite/issues/2059#issuecomment-1041033498.

Looks like this is taken care of by that PR. :100: