all repos — honk @ ed1efcf8c3909aa68a395da966d8dd99dfec5f59

my fork of honk

u
Anirudh Oppiliappan x@icyphox.sh
Tue, 26 Sep 2023 23:13:31 +0300
commit

ed1efcf8c3909aa68a395da966d8dd99dfec5f59

parent

8671936511ba29c3128ebb9c828bb77cceb23619

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M masto.gomasto.go

@@ -10,8 +10,8 @@ )

func showoauthlogin(rw http.ResponseWriter, r *http.Request) { templinfo := make(map[string]interface{}) - templinfo["ClientID"] = r.Form.Get("client_id") - templinfo["RedirectURI"] = r.Form.Get("redirect_uri") + templinfo["ClientID"] = r.URL.Query().Get("client_id") + templinfo["RedirectURI"] = r.URL.Query().Get("redirect_uri") templinfo = getInfo(r) if err := readviews.Execute(rw, "oauthlogin.html", templinfo); err != nil { elog.Println(err)