Skip to content
Snippets Groups Projects
Commit 72ce41af authored by Rohith Jayawardene's avatar Rohith Jayawardene Committed by GitHub
Browse files

Access Token Duration (#188)

* Access Token Duration

- fixed the access token expiring too quickly; the cookie expiration needed to be extended.
  Not sure when this was broken, but I changed the duration a while back. Needs a test added.

* - switching to gambol99/goproxy until a fix upstream
parent ea960a95
No related branches found
No related tags found
No related merge requests found
......@@ -32,9 +32,6 @@ type ProxyHttpServer struct {
var hasPort = regexp.MustCompile(`:\d+$`)
func copyHeaders(dst, src http.Header) {
for k, _ := range dst {
dst.Del(k)
}
for k, vs := range src {
for _, v := range vs {
dst.Add(k, v)
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment