akvo.rsr.registration module

akvo.rsr.registration.activate_user(activation_key)[source]
akvo.rsr.registration.generate_key(obj, salt)[source]

Generate the activation key which will be emailed to the user.

akvo.rsr.registration.get_inactive_user(email)[source]
akvo.rsr.registration.send_activation_email(user, site)[source]

Send the activation email. The activation key is the user’s email address, signed using TimestampSigner.

akvo.rsr.registration.validate_key(activation_key, salt, max_age)[source]

Verify that the activation key is valid and within the permitted activation time window, returning the signed object if valid or None if not.