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

Added debugging

parent 9353ee53
Branches
No related tags found
No related merge requests found
......@@ -49,11 +49,12 @@ type Album struct {
}
func parseUser(r *http.Request) UserInfo {
println(r.Header.Get("X-Auth-Roles"))
return UserInfo{
r.Header.Get("X-Auth-Subject"),
r.Header.Get("X-Auth-Username"),
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