Skip to content

Commit

Permalink
fixed a brain fart
Browse files Browse the repository at this point in the history
  • Loading branch information
nvdk committed Jun 25, 2018
1 parent c251a85 commit 620f0d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@

after do
auth_headers = {}
if auth_headers['MU_AUTH_ALLOWED_GROUPS']
if RequestStore.store[:mu_auth_allowed_groups]
auth_headers['MU_AUTH_ALLOWED_GROUPS'] = RequestStore.store[:mu_auth_allowed_groups]
end
if auth_headers['MU_AUTH_USED_GROUPS']
if RequestStore.store[:mu_auth_used_groups]
auth_headers['MU_AUTH_USED_GROUPS'] = RequestStore.store[:mu_auth_used_groups]
end
headers auth_headers
Expand Down

0 comments on commit 620f0d2

Please sign in to comment.