Skip to content
Snippets Groups Projects
Commit 70790dc8 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Added debugging

parent 9353ee53
No related branches found
No related tags found
No related merge requests found
...@@ -49,11 +49,12 @@ type Album struct { ...@@ -49,11 +49,12 @@ type Album struct {
} }
func parseUser(r *http.Request) UserInfo { func parseUser(r *http.Request) UserInfo {
println(r.Header.Get("X-Auth-Roles"))
return UserInfo{ return UserInfo{
r.Header.Get("X-Auth-Subject"), r.Header.Get("X-Auth-Subject"),
r.Header.Get("X-Auth-Username"), r.Header.Get("X-Auth-Username"),
r.Header.Get("X-Auth-Email"), r.Header.Get("X-Auth-Email"),
r.Header.Get("X-Auth-Roles"), []string{},
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment