diff options
-rw-r--r-- | clientapi/routing/register.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/clientapi/routing/register.go b/clientapi/routing/register.go index 820c7484..614e19d5 100644 --- a/clientapi/routing/register.go +++ b/clientapi/routing/register.go @@ -589,12 +589,6 @@ func handleRegistrationFlow( // TODO: email / msisdn auth types. accessToken, accessTokenErr := auth.ExtractAccessToken(req) - if accessTokenErr != nil { - return util.JSONResponse{ - Code: http.StatusUnauthorized, - JSON: jsonerror.MissingToken(accessTokenErr.Error()), - } - } // Appservices are special and are not affected by disabled // registration or user exclusivity. |