aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-12-18 14:51:30 +0000
committerNeil Alexander <neilalexander@users.noreply.github.com>2020-12-18 14:51:30 +0000
commit932ff6b166b3d8e8bac8b4208b833ab04f7a9144 (patch)
tree6728bd50d763c91e16c98cdd9bc307454b919940
parente4d1f0958fb297d4a8cb112de794e62dee8fbcae (diff)
Fix /register
-rw-r--r--clientapi/routing/register.go6
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.