IAuthenticationPlugin wants None and not None, None
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Products.LDAPMultiPlugins |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I found that your implementation of autenticateCred
def authenticateCre
""" credentials -> (userid, login)
o 'credentials' will be a mapping, as returned by IExtractionPlugin.
o Return a tuple consisting of user ID (which may be different
from the login name) and login
o If the credentials cannot be authenticated, return None.
"""
That yield PAS (PlonePas-
Why does not it returns simply None when user isn't in that ldap plugin?
Changed in products.ldapmultiplugins: | |
status: | Confirmed → Fix Released |
Thanks for the bug report. The issue has been fixed and a new version, 1.14, is now available on PyPI.