Commit e35d0969 authored by Łukasz Nowak's avatar Łukasz Nowak

Allow to use PKI authentication for Person.

parent 9496d811
...@@ -72,7 +72,7 @@ def getUserByLogin(portal, login): ...@@ -72,7 +72,7 @@ def getUserByLogin(portal, login):
login = login, login = login,
result = portal.portal_catalog.unrestrictedSearchResults( result = portal.portal_catalog.unrestrictedSearchResults(
select_expression='reference', select_expression='reference',
portal_type=["Computer", "Software Instance"], portal_type=["Computer", "Software Instance", "Person"],
validation_state="validated", validation_state="validated",
reference=dict(query=login, key='ExactMatch')) reference=dict(query=login, key='ExactMatch'))
# XXX: Here, we filter catalog result list ALTHOUGH we did pass # XXX: Here, we filter catalog result list ALTHOUGH we did pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment