mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 11:23:11 -06:00
fix a typo
Signed-off-by: mohitks <mohitkumarsingh907@gmail.com>
This commit is contained in:
parent
b7c676cdf3
commit
6454d37c46
|
|
@ -89,7 +89,7 @@ func Login(
|
||||||
// go over identifier types
|
// go over identifier types
|
||||||
switch r.Identifier.Type {
|
switch r.Identifier.Type {
|
||||||
case "m.type.user":
|
case "m.type.user":
|
||||||
// depreciate user in favor of identifier field
|
// depreciate user in favour of identifier field
|
||||||
// https://matrix.org/docs/spec/client_server/unstable#post-matrix-client-r0-login
|
// https://matrix.org/docs/spec/client_server/unstable#post-matrix-client-r0-login
|
||||||
r.User = r.Identifier.User
|
r.User = r.Identifier.User
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue