Edgewall Software

Changes between Initial Version and Version 1 of Ticket #12719, comment 9


Ignore:
Timestamp:
Nov 16, 2019, 7:20:44 PM (4 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12719, comment 9

    initial v1  
    11It seems that `req.authname` is determined by `RequestDispatcher.authenticate`at [source:/tags/trac-1.2/trac/web/main.py@:169,196#L169], not `LoginModule.authenticate`. I think this cannot happen.
    22
    3 `RequestDispatcher.authenticate` returns `anonymous` when all authenticators return false value. Then, `req.authname` would be `anonymous` even if `LoginModule.authenticate` reutrns `None`.
     3`RequestDispatcher.authenticate` returns `anonymous` when all authenticators return false value. Then, `req.authname` would be `anonymous` even if `LoginModule.authenticate` returns `None`.