~msapiro/mailman/topics

« back to all changes in this revision

Viewing changes to Mailman/SecurityManager.py

  • Committer: Mark Sapiro
  • Date: 2009-09-14 01:24:18 UTC
  • mfrom: (1006.1.71 2.2)
  • Revision ID: mark@msapiro.net-20090914012418-2qngbqwc28fe278a
Merged changes from 2.2 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
        #
138
138
        # Return the authcontext from the argument sequence that matches the
139
139
        # response, or UnAuthorized.
 
140
        if not response:
 
141
            # Don't authenticate null passwords
 
142
            return mm_cfg.UnAuthorized
140
143
        for ac in authcontexts:
141
144
            if ac == mm_cfg.AuthCreator:
142
145
                ok = Utils.check_global_password(response, siteadmin=0)