Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Link #81

Open
foliwe opened this issue Dec 27, 2023 · 1 comment
Open

Invalid Link #81

foliwe opened this issue Dec 27, 2023 · 1 comment

Comments

@foliwe
Copy link

foliwe commented Dec 27, 2023

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.

@bvermeulen
Copy 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”).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants