Changes between Initial Version and Version 1 of Ticket #8545, comment 12
- Timestamp:
- Jan 27, 2016, 4:48:28 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8545, comment 12
initial v1 2 2 > Ok. For me the problem was introduced in [9556] which was an attempt to fix #5964. It seems that in my environment which uses http://trac.edgewall.org/wiki/TracFastCgi script for NGINX the REMOTE_USER variable is already present in environment. 3 3 4 Seems like this is related to `AuthenticationMiddleware` (see T:browser:trunk/trac/web/standalone.py?rev=10594#L55), right? In AccountManagerPlugin's `LoginModule` we'll need another way to decide, if authentication has already happened, but without setting 'REMOTE_USER' in the request object on our own (see [browser:accountmanagerplugin/trunk/acct_mgr/web_ui.py L542]).4 Seems like this is related to `AuthenticationMiddleware` (see T:browser:trunk/trac/web/standalone.py?rev=10594#L55), right? In AccountManagerPlugin's `LoginModule` we'll need another way to decide, if authentication has already happened, but without setting 'REMOTE_USER' in the request object on our own (see [browser:accountmanagerplugin/trunk/acct_mgr/web_ui.py#L542]).