Changeset 7234 for main/waeup.sirp/trunk/src/waeup/sirp/utils
- Timestamp:
- 28 Nov 2011, 21:42:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/utils/helpers.py
r7229 r7234 477 477 """ 478 478 principal_id = request.principal.id 479 authenticators = getUtilitiesFor(IAuthenticatorPlugin) 480 for authenticator in authenticators: 481 account = authenticator[1].getAccount(principal_id) 482 if account: 483 break 479 authenticator = getUtility(IAuthenticatorPlugin, name='users') 480 account = authenticator.getAccount(principal_id) 484 481 return account 485 482
Note: See TracChangeset for help on using the changeset viewer.