X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2115f4609adcc86156e8e0aa59ea38ba5808378e..857f9369b549d1d9dfef4d941a6aecbf747334f1:/lib/controller/federation.go diff --git a/lib/controller/federation.go b/lib/controller/federation.go index 144d41c21b..e7d6e29b88 100644 --- a/lib/controller/federation.go +++ b/lib/controller/federation.go @@ -121,8 +121,6 @@ func (h *Handler) setupProxyRemoteCluster(next http.Handler) http.Handler { mux.ServeHTTP(w, req) }) - - return mux } type CurrentUser struct { @@ -216,10 +214,9 @@ VALUES ($1, $2, CURRENT_TIMESTAMP AT TIME ZONE 'UTC' + INTERVAL '2 weeks', $3, } return &arvados.APIClientAuthorization{ - UUID: uuid, - APIToken: token, - ExpiresAt: "", - Scopes: scopes}, nil + UUID: uuid, + APIToken: token, + Scopes: scopes}, nil } // Extract the auth token supplied in req, and replace it with a