mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Fix /register
This commit is contained in:
parent
e4d1f0958f
commit
932ff6b166
1 changed files with 0 additions and 6 deletions
|
@ -589,12 +589,6 @@ func handleRegistrationFlow(
|
||||||
|
|
||||||
// TODO: email / msisdn auth types.
|
// TODO: email / msisdn auth types.
|
||||||
accessToken, accessTokenErr := auth.ExtractAccessToken(req)
|
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
|
// Appservices are special and are not affected by disabled
|
||||||
// registration or user exclusivity.
|
// registration or user exclusivity.
|
||||||
|
|
Loading…
Reference in a new issue