u
Anirudh Oppiliappan x@icyphox.sh
Tue, 26 Sep 2023 23:13:31 +0300
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
masto.go
→
masto.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)