kopia lustrzana https://codeberg.org/nmkj/audon
fix returning string
rodzic
80963c96e6
commit
3138e2a596
2
auth.go
2
auth.go
|
@ -98,7 +98,7 @@ func loginHandler(c echo.Context) (err error) {
|
|||
q.Add("state", req.Redirect)
|
||||
redirURL.RawQuery = q.Encode()
|
||||
|
||||
return c.String(http.StatusCreated, mastApp.AuthURI)
|
||||
return c.String(http.StatusCreated, redirURL.String())
|
||||
}
|
||||
|
||||
return c.NoContent(http.StatusNoContent)
|
||||
|
|
Ładowanie…
Reference in New Issue