Skip to content

Find a way to validate user email on creation #5

Description

@chaws

On colab/accounts/views.py there's:
email = EmailAddressValidation.create(user.email, user)

location = reverse('archive_email_view',
kwargs={'key': email.validation_key})
verification_url = request.build_absolute_uri(location)
EmailAddressValidation.verify_email(email, verification_url)

Check if the user's email have been used previously

in the mainling lists to link the user to old messages

email_addr, created = EmailAddress.objects.get_or_create(
address=user.email)
if created:
email_addr.real_name = user.get_full_name()

email_addr.user = user
email_addr.save()

Let's try to find a way to do email validation using plugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions