From 32c6b168ce60c148939d1c7958a0611f57fec9a9 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Thu, 8 Apr 2021 18:10:55 +0100 Subject: [PATCH] Finish removing --- clientapi/routing/register.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/clientapi/routing/register.go b/clientapi/routing/register.go index 3d301add5..872bdd736 100644 --- a/clientapi/routing/register.go +++ b/clientapi/routing/register.go @@ -161,15 +161,6 @@ type userInteractiveResponse struct { Session string `json:"session"` } -// legacyRegisterRequest represents the submitted registration request for v1 API. -type legacyRegisterRequest struct { - Password string `json:"password"` - Username string `json:"user"` - Admin bool `json:"admin"` - Type authtypes.LoginType `json:"type"` - Mac gomatrixserverlib.HexString `json:"mac"` -} - // newUserInteractiveResponse will return a struct to be sent back to the client // during registration. func newUserInteractiveResponse(