-
Notifications
You must be signed in to change notification settings - Fork 58
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 Token #84
Comments
Hello, do you have any logs? |
Mail hog logs are : 2023/09/13 13:02:00 [SMTP 127.0.0.1:61663] Session ended On django site function is called when link is clicked : this return invalid token every time . if we debug and see what is return by verify_token we get . |
Thanks, can you debug inside |
Yeah Sure. |
Faced same problem here. In my case I fixed it by sending a datetime to send_email in the expiry parameter, so I call it this way:
I tried forcing sending 86400 in the expiry parameter expecting token expiration date would be the next day but it appeared as epoch + 1 day. I would open a PR to create this timestamp inside send_inner, but preferred to discuss previously as I find it strange that this only fails this way to me. |
I am using mail hog for email testing .
Email is sent successfully but when I click the link it says invalid token every time .
I have change token life time to 1 hour but still same issue .
The text was updated successfully, but these errors were encountered: