Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
paas2-auth-sidecar
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ASM
paas2-auth-sidecar
Commits
57b7051d
Commit
57b7051d
authored
Apr 04, 2017
by
Sigmund Augdal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix header with all attributes
parent
e72f85e4
Pipeline
#1625
passed with stage
in 1 minute and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lua/feide.lua
lua/feide.lua
+1
-1
No files found.
lua/feide.lua
View file @
57b7051d
...
...
@@ -101,7 +101,7 @@ function setFeideHeaders(feide_data)
ngx
.
req
.
set_header
(
"Remote-User"
,
values
[
0
])
end
end
ngx
.
req
.
set_header
(
"X-Feide-Attributes"
,
ngx
.
encode_base64
(
cjson
.
encode
(
attributes
)))
ngx
.
req
.
set_header
(
"X-Feide-Attributes"
,
ngx
.
encode_base64
(
cjson
.
encode
(
feide_data
)))
end
function
clearHeaders
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment