Friday, March 12, 2021

Re: Add user email verification to custom user model

Thank you very much for your help.
I made it work! Please let me know if I need to explain it to someone else.

Best wishes,

Manuel



Manuel Buri
T:  +41 79 933 01 11 


On Tue, 9 Mar 2021 at 17:54, Kasper Laudrup <laudrup@stacktrace.dk> wrote:
On 09/03/2021 17.22, Gabriel Araya Garcia wrote:
> Your ask is not clear,..What is wrong ? What is the error message? If
> you need validate the email format, here is one javascript example :
>

Actually, it is far from trivial or close to impossible to correctly
validate an email address using, eg. a regular expression:

https://emailregex.com/

The best you can do is to try to send an email to whatever is provided
and ask the user to confirm which seems to be what Manuel is trying to
do, although I agree that was far from clear in the original question.

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/YveSLX-SJRg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d89dc3a4-8f17-0d32-bf40-c0db71885b5f%40stacktrace.dk.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACx7KORhgVsoWh%2BcGE7eht1pwxvQXcOq6vrp6M8U%3DZRHz%3DAkHQ%40mail.gmail.com.

No comments:

Post a Comment