Changes between Initial Version and Version 1 of Ticket #8545, comment 12


Ignore:
Timestamp:
Jan 27, 2016, 4:48:28 AM (8 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8545, comment 12

    initial v1  
    22> 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.
    33
    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.pyL542]).
     4Seems 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]).