From 0cc164c7b10caf2ccd402f196cf78a1289af1b43 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 18 Nov 2022 12:48:28 +0000 Subject: [PATCH] Remember server name in registration flow --- clientapi/routing/register.go | 1 + 1 file changed, 1 insertion(+) diff --git a/clientapi/routing/register.go b/clientapi/routing/register.go index e23da8013..4d96dd4a3 100644 --- a/clientapi/routing/register.go +++ b/clientapi/routing/register.go @@ -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