From 2eef224435d97a36083bcff556113bb3d3e5a2c8 Mon Sep 17 00:00:00 2001 From: Will Hunt Date: Thu, 17 Dec 2020 15:35:11 +0000 Subject: [PATCH] fix broken test --- clientapi/routing/register.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clientapi/routing/register.go b/clientapi/routing/register.go index cfd7f64eb..9f90083bc 100644 --- a/clientapi/routing/register.go +++ b/clientapi/routing/register.go @@ -627,6 +627,10 @@ func handleRegistrationFlow( // Add Dummy to the list of completed registration stages AddCompletedSessionStage(sessionID, authtypes.LoginTypeDummy) + case "": + // An empty auth type means that we want to fetch the available + // flows. It can also mean that we want to register as an appservice + // but that is handed above. default: return util.JSONResponse{ Code: http.StatusNotImplemented,