all repos — honk @ 35b46fc549bccf5217fda08f238b75e585cbead3

my fork of honk

u
Anirudh Oppiliappan x@icyphox.sh
Mon, 25 Sep 2023 23:39:29 +0300
commit

35b46fc549bccf5217fda08f238b75e585cbead3

parent

8744aed8447ea2757ba1fa99aed04dec01c81b5f

1 files changed, 3 insertions(+), 4 deletions(-)

jump to
M masto.gomasto.go

@@ -6,7 +6,6 @@ "fmt"

"net/http" "time" - "github.com/google/uuid" "humungus.tedunangst.com/r/webs/junk" )

@@ -37,9 +36,9 @@ clientName := r.Form.Get("client_name")

redirectUri := r.Form.Get("redirect_uris") scopes := r.Form.Get("scopes") website := r.Form.Get("website") - clientID := uuid.New().String() - clientSecret := uuid.New().String() - vapidKey := "BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M=" + clientID := tokengen() + clientSecret := tokengen() + vapidKey := tokengen() _, err := stmtSaveMastoApp.Exec(clientName, redirectUri, scopes, clientID, clientSecret, vapidKey) if err != nil {