Browse Source

remove extra w.WriteHeader call (#2158)

Matt Owens 3 years ago committed by Gabe Kangas
parent
commit
4b5a1fcc3f
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 1
      controllers/auth/fediverse/fediverse.go

1
controllers/auth/fediverse/fediverse.go

@ -98,5 +98,4 @@ func VerifyFediverseOTPRequest(w http.ResponseWriter, r *http.Request) { @@ -98,5 +98,4 @@ func VerifyFediverseOTPRequest(w http.ResponseWriter, r *http.Request) {
}
controllers.WriteSimpleResponse(w, true, "")
w.WriteHeader(http.StatusOK)
}

Loading…
Cancel
Save