~msapiro/mailman/mhonarc

« back to all changes in this revision

Viewing changes to Mailman/CSRFcheck.py

  • Committer: Mark Sapiro
  • Date: 2021-11-13 00:02:59 UTC
  • mfrom: (1629.23.67 2.1)
  • Revision ID: mark@msapiro.net-20211113000259-z65fyk5e9klk5hkb
Tags: 2.1.37
Merged from 2.1 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        
46
46
    for context in contexts:
47
47
        key, secret = mlist.AuthContextInfo(context, user)
48
 
        if key:
 
48
        if key and secret:
49
49
            break
50
50
    else:
51
51
        return None     # not authenticated