Fix /register

main
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
1 changed files with 0 additions and 6 deletions

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.