Properly pass organization context to handlers

pull/5026/head
Michael Desa 2017-11-03 09:13:03 -04:00
parent 6f72d72fca
commit 6539e5ebeb
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ func AuthorizedUser(
}
if hasAuthorizedRole(u, role) {
r = r.WithContext(ctx)
next(w, r)
return
}