Opened 11 years ago

Closed 11 years ago

#439 closed enhancement (worksforme)

auth_basic: username variable

Reported by: Owned by:
Priority: minor Milestone:
Component: nginx-module Version: 1.3.x
Keywords: Cc: x12ozmouse@…
uname -a:
nginx -V:


I think it might be a good idea to have a variable which will contain the user name when a successful basic authentication is performed. Using this variable it will be possible, for example, to perform redirects based on the username or add this information to the log file.

Change History (1)

comment:1 by Maxim Dounin, 11 years ago

Resolution: worksforme
Status: newclosed

There is the $remove_user variable.

Note: See TracTickets for help on using tickets.