Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Do not pass along the raw error. Closes #2491

Gabe Kangas8d64a38d65ee
diff --git a/controllers/auth/indieauth/client.go b/controllers/auth/indieauth/client.go
index 6ea483dbcc..7b53ac4b8c 100644
--- a/controllers/auth/indieauth/client.go
+++ b/controllers/auth/indieauth/client.go
@@ -58,7 +58,7 @@ func HandleRedirect(w http.ResponseWriter, r *http.Request) {
request, response, err := ia.HandleCallbackCode(code, state)
if err != nil {
log.Debugln(err)
- msg := fmt.Sprintf("Unable to complete authentication. <a href=\"/\">Go back.</a><hr/> %s", err.Error())
+ msg := `Unable to complete authentication. <a href="/">Go back.</a><hr/>`
_ = controllers.WriteString(w, msg, http.StatusBadRequest)
return
}