mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-24 23:29:18 -04:00
Set minted token on request header instead of response writer header.
This commit is contained in:
1 file changed
+1
-1
@@ -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