Skip to content

Commit

Permalink
Adding username in 'X-Forwarded-User' header because it seems to be c…
Browse files Browse the repository at this point in the history
…ommon
  • Loading branch information
Siecje committed May 5, 2017
1 parent b648cb4 commit f58212b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions authenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def login():
resp.headers['Location'] = target
resp.headers['REMOTE_USER'] = username
resp.headers['X-WEBAUTH-USER'] = username
resp.headers['X-Forwarded-User'] = username
return resp
return render_template('login.html', form=form)

Expand Down

0 comments on commit f58212b

Please sign in to comment.