Changeset 6674


Ignore:
Timestamp:
Oct 11, 2009, 2:00:36 AM (11 years ago)
Author:
John Hampton
Message:

Set the REMOTE_USER. Not strictly necessary, but should be done. Helps in cases with multiple LoginModule objects being used elsewhere

Location:
httpauthplugin
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • httpauthplugin/0.10/httpauth/filter.py

    r1891 r6674  
    6161        user = self._check_password(req)
    6262        if user:
     63            req.environ['REMOTE_USER'] = user
    6364            self.log.debug('HTTPAuthFilter: Authentication okay for %s', user)
    6465            return user
  • httpauthplugin/trunk/httpauth/filter.py

    r1891 r6674  
    6161        user = self._check_password(req)
    6262        if user:
     63            req.environ['REMOTE_USER'] = user
    6364            self.log.debug('HTTPAuthFilter: Authentication okay for %s', user)
    6465            return user
Note: See TracChangeset for help on using the changeset viewer.