Pass on authenticated user via X-Forwarded-User header

Fixes #13
This commit is contained in:
Thom Seddon
2018-12-10 12:44:13 +00:00
parent 5dcf889efe
commit df81be1147
3 changed files with 18 additions and 1 deletions

View File

@ -70,6 +70,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
}
// Valid request
w.Header().Set("X-Forwarded-User", email)
w.WriteHeader(200)
}