geonature.core.users.register_post_actions#

Action triggered after register action (create temp user, change password etc…)

Attributes#

Functions#

validators_emails()

On souhaite récupérer une liste de mails

validate_temp_user(data)

Send an email after the action of account creation.

execute_actions_after_validation(data)

create_dataset_user(user)

After dataset validation, add a personnal AF and JDD so the user

inform_user(user)

Send an email to inform the user that his account was validate.

send_email_for_recovery(data)

Send an email with the login of the role and the possibility to reset

Module Contents#

geonature.core.users.register_post_actions.validators_emails()[source]#

On souhaite récupérer une liste de mails

geonature.core.users.register_post_actions.validate_temp_user(data)[source]#

Send an email after the action of account creation.

Paramètres:

admin_validation_required – if True an admin will receive an

email to validate the account creation else the user himself receive the email. :type admin_validation_required: bool

geonature.core.users.register_post_actions.execute_actions_after_validation(data)[source]#
geonature.core.users.register_post_actions.create_dataset_user(user)[source]#

After dataset validation, add a personnal AF and JDD so the user can add new user.

geonature.core.users.register_post_actions.inform_user(user)[source]#

Send an email to inform the user that his account was validate.

geonature.core.users.register_post_actions.send_email_for_recovery(data)[source]#

Send an email with the login of the role and the possibility to reset its password

geonature.core.users.register_post_actions.function_dict[source]#