mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-06-21 14:29:00 -04:00
Set minted token on request header instead of response writer header.
This commit is contained in:
@@ -103,7 +103,7 @@ func AccountUUID(opts ...AccountMiddlewareOption) func(next http.Handler) http.H
|
||||
return
|
||||
}
|
||||
|
||||
w.Header().Set("x-access-token", token)
|
||||
r.Header.Set("x-access-token", token)
|
||||
next.ServeHTTP(w, r)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user