fairdm.contrib.contributors.signals#

Signal handlers for the contributors app.

Module Contents#

Functions#

handle_email_confirmed

Claim the unclaimed person whose email was just confirmed.

Data#

API#

logger#

‘getLogger(…)’

handle_email_confirmed(sender, request=None, email_address=None, **kwargs)#

Claim the unclaimed person whose email was just confirmed.

Does nothing unless ACCOUNT_EMAIL_VERIFICATION is mandatory and an unclaimed person has that email. A claiming failure is logged, not raised.

Args: sender: The signal sender. request: The current request. email_address: The confirmed email address. **kwargs: Other signal arguments.

Returns: None.