Skip to content

Commit

Permalink
NTLM_AUTHORIZED key possibly contains the domain name
Browse files Browse the repository at this point in the history
  • Loading branch information
Legrandin committed Sep 24, 2012
1 parent 9595b27 commit 20d6356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyntlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def handle_type3(req, ntlm_message):
if not result:
return apache.HTTP_FORBIDDEN

req.connection.notes.add('NTLM_AUTHORIZED',user)
req.connection.notes.add('NTLM_AUTHORIZED',req.user)
return apache.OK

def handle_basic(req, user, password):
Expand Down

0 comments on commit 20d6356

Please sign in to comment.