Remember server name in registration flow

This commit is contained in:
Neil Alexander 2022-11-18 12:48:28 +00:00
parent 97e06a8321
commit 0cc164c7b1
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -566,6 +566,7 @@ func Register(
// Some of these might end up being overwritten if the
// values are specified again in the request body.
r.Username = data.Username
r.ServerName = data.ServerName
r.Password = data.Password
r.DeviceID = data.DeviceID
r.InitialDisplayName = data.InitialDisplayName