Django-Verify-Email
Django-Verify-Email copied to clipboard
Invalid Link
Email verification send an invalid link all the time
Invalid Link This link is invalid or been used already, we cannot verify using this link.
Likely to do with Microsoft outlook safe-link feature, that sends a head request to check the link and thereby consumes the one time verification link.
I have resolved this by adding the check if request.method == “HEAD”: return HttpResponse(“OK”) at the start of the function verify_user_and_activate.
Otherwise add an else part to the existing if request.method == “GET”, return HttpResponse(“OK”).