0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-11 12:21:07 +01:00

Fix /register

This commit is contained in:
Neil Alexander 2020-12-18 14:51:30 +00:00
parent e4d1f0958f
commit 932ff6b166
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -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.